summaryrefslogtreecommitdiffstats
path: root/media/libnbaio
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-01-31 09:38:33 -0800
committerGlenn Kasten <gkasten@google.com>2014-02-03 15:42:51 -0800
commit51d53cd993043d9286e12cba884e6ee4d10b5fac (patch)
tree0559856f5ca00b74b86445f863f1ad1b2c359f72 /media/libnbaio
parentb42398bb30e47313f42f91292657a9b8cc752511 (diff)
downloadframeworks_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 'media/libnbaio')
-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 290604e..8a8155d 100644
--- a/media/libnbaio/NBAIO.cpp
+++ b/media/libnbaio/NBAIO.cpp
@@ -33,6 +33,8 @@ size_t Format_frameBitShift(const NBAIO_Format& format)
return Format_channelCount(format);
}
+const NBAIO_Format Format_Invalid = { 0 };
+
enum {
Format_SR_8000,
Format_SR_11025,