summaryrefslogtreecommitdiffstats
path: root/media/libnbaio/NBAIO.cpp
diff options
context:
space:
mode:
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 f630236..26ef8c4 100644
--- a/media/libnbaio/NBAIO.cpp
+++ b/media/libnbaio/NBAIO.cpp
@@ -24,11 +24,13 @@ namespace android {
size_t Format_frameSize(const NBAIO_Format& format)
{
+ // FIXME The sample format is hard-coded to AUDIO_FORMAT_PCM_16_BIT
return Format_channelCount(format) * sizeof(short);
}
size_t 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);
}