summaryrefslogtreecommitdiffstats
path: root/include/system
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2012-04-20 13:47:30 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-04-20 13:47:30 -0700
commit92e6c88265e0126b6d9a205498bb1c62efc05509 (patch)
tree7e373b1fc0b2b98ba6401c99c10d8bc6a02843ed /include/system
parenta974e04d3954fde9b7c70189e804a615a0ab5546 (diff)
parent9aec362e76a60725df1a444214f222297caf46a2 (diff)
downloadsystem_core-92e6c88265e0126b6d9a205498bb1c62efc05509.zip
system_core-92e6c88265e0126b6d9a205498bb1c62efc05509.tar.gz
system_core-92e6c88265e0126b6d9a205498bb1c62efc05509.tar.bz2
Merge "audio policy: add deep audio buffering flag."
Diffstat (limited to 'include/system')
-rw-r--r--include/system/audio.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/include/system/audio.h b/include/system/audio.h
index 382fc36..3807317 100644
--- a/include/system/audio.h
+++ b/include/system/audio.h
@@ -351,16 +351,17 @@ typedef enum {
* (when getOuput() is called) to an available output stream.
*/
typedef enum {
- AUDIO_OUTPUT_FLAG_NONE = 0x0, // no attributes
- AUDIO_OUTPUT_FLAG_DIRECT = 0x1, // this output directly connects a track
- // to one output stream: no software mixer
- AUDIO_OUTPUT_FLAG_PRIMARY = 0x2, // this output is the primary output of
- // the device. It is unique and must be
- // present. It is opened by default and
- // receives routing, audio mode and volume
- // controls related to voice calls.
- AUDIO_OUTPUT_FLAG_FAST = 0x4, // output supports "fast tracks",
- // defined elsewhere
+ AUDIO_OUTPUT_FLAG_NONE = 0x0, // no attributes
+ AUDIO_OUTPUT_FLAG_DIRECT = 0x1, // this output directly connects a track
+ // to one output stream: no software mixer
+ AUDIO_OUTPUT_FLAG_PRIMARY = 0x2, // this output is the primary output of
+ // the device. It is unique and must be
+ // present. It is opened by default and
+ // receives routing, audio mode and volume
+ // controls related to voice calls.
+ AUDIO_OUTPUT_FLAG_FAST = 0x4, // output supports "fast tracks",
+ // defined elsewhere
+ AUDIO_OUTPUT_FLAG_DEEP_BUFFER = 0x8 // use deep audio buffers
} audio_output_flags_t;
static inline bool audio_is_output_device(audio_devices_t device)