Miscellaneous cleanup for NBAIO
Finish removing Format_frameBitShift
Fix type of mFrameSize
Add FIXME
Change-Id: I02039b97cb93af1a180e88f6575210bd752faf20
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 @@
// 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;