summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-01-16 14:38:37 -0800
committerGlenn Kasten <gkasten@google.com>2013-07-19 13:31:33 -0700
commit9d2bc860d3f8468422ea2b5de9fa9d4ada4fbbe5 (patch)
treee1323812069525ac4f1fbc0373923928f4831a04 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentc0743ec46658027ce4bc10e8ab2e1152531c52aa (diff)
Replace run-time PCM encodings by compile-time constants
Simplify the code to use the constant values of ENCODING_PCM_16BIT and ENCODING_PCM_8BIT from AudioFormat.java. There is already a comment in AudioFormat.java saying that these symbols need to be kept in sync with this file, and they are public static final so they can never be changed. This change is similar to commit 3d301cb2b1d9e61c3af8a8b0b9db370d3d7abf77 or Change-Id I6cb10ac511df4845610454d1659e64d9195d67cd Change-Id: Ib62d8cfeb6261ffd362dba3600d593e2a268d76a
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions