diff options
author | Glenn Kasten <gkasten@google.com> | 2014-03-06 08:02:27 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2014-03-06 09:08:11 -0800 |
commit | d42bc56e5883274edf1f0b45cad5c324eceff9b8 (patch) | |
tree | 24770cf4f093fa89dbcb4bb3b400e96806dd0f40 /media/libnbaio | |
parent | 43d9b8706b3916ee0f1d745a2832f792c3406ca8 (diff) | |
download | frameworks_av-d42bc56e5883274edf1f0b45cad5c324eceff9b8.zip frameworks_av-d42bc56e5883274edf1f0b45cad5c324eceff9b8.tar.gz frameworks_av-d42bc56e5883274edf1f0b45cad5c324eceff9b8.tar.bz2 |
Remove checks for specific sample rates and channel counts
Change-Id: Idadfe7c11dc831e82f95015f02dd9b9861b401c8
Diffstat (limited to 'media/libnbaio')
-rw-r--r-- | media/libnbaio/NBAIO.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/media/libnbaio/NBAIO.cpp b/media/libnbaio/NBAIO.cpp index 4f6591d..a669fbb 100644 --- a/media/libnbaio/NBAIO.cpp +++ b/media/libnbaio/NBAIO.cpp @@ -39,24 +39,6 @@ int Format_frameBitShift(const NBAIO_Format& format) const NBAIO_Format Format_Invalid = { 0, 0, AUDIO_FORMAT_INVALID, 0 }; -enum { - Format_SR_8000, - Format_SR_11025, - Format_SR_16000, - Format_SR_22050, - Format_SR_24000, - Format_SR_32000, - Format_SR_44100, - Format_SR_48000, - Format_SR_Mask = 7 -}; - -enum { - Format_C_1 = 0x08, - Format_C_2 = 0x10, - Format_C_Mask = 0x18 -}; - unsigned Format_sampleRate(const NBAIO_Format& format) { if (!Format_isValid(format)) { |