diff options
author | Glenn Kasten <gkasten@google.com> | 2014-01-31 09:38:33 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2014-02-03 15:42:51 -0800 |
commit | 51d53cd993043d9286e12cba884e6ee4d10b5fac (patch) | |
tree | 0559856f5ca00b74b86445f863f1ad1b2c359f72 /include/media | |
parent | b42398bb30e47313f42f91292657a9b8cc752511 (diff) | |
download | frameworks_av-51d53cd993043d9286e12cba884e6ee4d10b5fac.zip frameworks_av-51d53cd993043d9286e12cba884e6ee4d10b5fac.tar.gz frameworks_av-51d53cd993043d9286e12cba884e6ee4d10b5fac.tar.bz2 |
Change Format_Invalid from enum to global const
This is in preparation for changing the typedef to a struct
Change-Id: I36d1fe81d2f974224750f753453753303c224591
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/nbaio/NBAIO.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/media/nbaio/NBAIO.h b/include/media/nbaio/NBAIO.h index b809351..9c9721a 100644 --- a/include/media/nbaio/NBAIO.h +++ b/include/media/nbaio/NBAIO.h @@ -53,9 +53,8 @@ enum { // too large, then this decision should be re-visited. // Sample rate and channel count are explicit, PCM interleaved 16-bit is assumed. typedef unsigned NBAIO_Format; -enum { - Format_Invalid -}; + +extern const NBAIO_Format Format_Invalid; // Return the frame size of an NBAIO_Format in bytes size_t Format_frameSize(const NBAIO_Format& format); |