summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorDean Wheatley <dwhea@dolby.com>2020-10-02 15:31:27 +1000
committerJean-Michel Trivi <jmtrivi@google.com>2020-10-02 22:29:19 +0000
commitede3f24c8d6b56aee695ea3a05b5417b7d32cdf9 (patch)
treee1da60bbd06df1965f4e28ba6e30ad7a236420b0 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent34a1b9c951c38537ab96b69bc308f6e0884823f5 (diff)
Default compressed audio bytes per sample to 1
To support AudioTrack builder for compressed audio (e.g. AC3) without specifiying setBufferSizeInBytes, default the bytesPerSample to 1, and handle the possible getBytesPerSample exception. Test: atest AudioTrackTest#testAc3BuilderNoBufferSize Bug: 169875806 Change-Id: I1b28d94c4dbf3a72e807ef445163e1dd84e4553b
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions