diff options
author | Glenn Kasten <gkasten@google.com> | 2014-03-06 10:54:55 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2014-03-07 08:39:09 -0800 |
commit | 55e599daff7712142095f546b7e5bf2dcda807a8 (patch) | |
tree | 255a9372144a9ad83b4560f12f02f29903aa3252 /include | |
parent | f69f9869514730aebe5724c461768507084dfff7 (diff) | |
download | frameworks_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 'include')
-rw-r--r-- | include/media/nbaio/NBAIO.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/media/nbaio/NBAIO.h b/include/media/nbaio/NBAIO.h index 5278bf8..be0c15b 100644 --- a/include/media/nbaio/NBAIO.h +++ b/include/media/nbaio/NBAIO.h @@ -54,11 +54,12 @@ enum { // too large, then this decision should be re-visited. // Sample rate and channel count are explicit, PCM interleaved 16-bit is assumed. struct NBAIO_Format { +// FIXME make this a class, and change Format_... global methods to class methods //private: unsigned mSampleRate; unsigned mChannelCount; audio_format_t mFormat; - ssize_t mFrameSize; + size_t mFrameSize; }; extern const NBAIO_Format Format_Invalid; |