commit | 3d301cb2b1d9e61c3af8a8b0b9db370d3d7abf77 | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Mon Jan 16 14:46:54 2012 -0800 |
committer | Glenn Kasten <gkasten@google.com> | Thu Nov 29 14:34:59 2012 -0800 |
tree | e21d06f3fe04936fcd91ea45a1efa63ab426f638 | |
parent | 3251d363139cbda760af27755f5685a14afe6655 [diff] |
Replace run-time modes by compile-time constants Simplify the code to use the constant values of MODE_STATIC and MODE_STREAM from AudioTrack.java. There is already a comment in AudioTrack.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. Change-Id: I6cb10ac511df4845610454d1659e64d9195d67cd