summaryrefslogtreecommitdiffstats
path: root/media/libnbaio/NBAIO.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-03-06 08:01:38 -0800
committerGlenn Kasten <gkasten@google.com>2014-03-06 09:04:38 -0800
commitc326e1c3d122917462f1cda4f03d9c639ad92902 (patch)
tree28c1092bd5c9ca835477f45e0d159fc3c828cfff /media/libnbaio/NBAIO.cpp
parent983f0578ccd2928af40c9689f6fe90110d02b92e (diff)
downloadframeworks_av-c326e1c3d122917462f1cda4f03d9c639ad92902.zip
frameworks_av-c326e1c3d122917462f1cda4f03d9c639ad92902.tar.gz
frameworks_av-c326e1c3d122917462f1cda4f03d9c639ad92902.tar.bz2
Remove Format_frameBitShift()
Change-Id: Iae2e80a7330c5dd0f70a263051aa44c23cfe3541
Diffstat (limited to 'media/libnbaio/NBAIO.cpp')
-rw-r--r--media/libnbaio/NBAIO.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libnbaio/NBAIO.cpp b/media/libnbaio/NBAIO.cpp
index 16e7df5..4f6591d 100644
--- a/media/libnbaio/NBAIO.cpp
+++ b/media/libnbaio/NBAIO.cpp
@@ -27,6 +27,7 @@ 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
@@ -34,6 +35,7 @@ int Format_frameBitShift(const NBAIO_Format& format)
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 };