summaryrefslogtreecommitdiffstats
path: root/media/libnbaio
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-03-06 10:54:55 -0800
committerGlenn Kasten <gkasten@google.com>2014-03-07 08:39:09 -0800
commit55e599daff7712142095f546b7e5bf2dcda807a8 (patch)
tree255a9372144a9ad83b4560f12f02f29903aa3252 /media/libnbaio
parentf69f9869514730aebe5724c461768507084dfff7 (diff)
downloadframeworks_av-55e599daff7712142095f546b7e5bf2dcda807a8.zip
frameworks_av-55e599daff7712142095f546b7e5bf2dcda807a8.tar.gz
frameworks_av-55e599daff7712142095f546b7e5bf2dcda807a8.tar.bz2
Miscellaneous cleanup for NBAIO
Finish removing Format_frameBitShift Fix type of mFrameSize Add FIXME Change-Id: I02039b97cb93af1a180e88f6575210bd752faf20
Diffstat (limited to 'media/libnbaio')
-rw-r--r--media/libnbaio/NBAIO.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/media/libnbaio/NBAIO.cpp b/media/libnbaio/NBAIO.cpp
index a669fbb..ff3284c 100644
--- a/media/libnbaio/NBAIO.cpp
+++ b/media/libnbaio/NBAIO.cpp
@@ -27,16 +27,6 @@ size_t Format_frameSize(const NBAIO_Format& format)
return format.mFrameSize;
}
-#if 0
-int Format_frameBitShift(const NBAIO_Format& format)
-{
- // FIXME The sample format is hard-coded to AUDIO_FORMAT_PCM_16_BIT
- // sizeof(short) == 2, so frame size == 1 << channels
- return Format_channelCount(format);
- // FIXME must return -1 for non-power of 2
-}
-#endif
-
const NBAIO_Format Format_Invalid = { 0, 0, AUDIO_FORMAT_INVALID, 0 };
unsigned Format_sampleRate(const NBAIO_Format& format)