summaryrefslogtreecommitdiffstats
path: root/audio/include
diff options
context:
space:
mode:
authorRavi Kumar Alamanda <ralama@codeaurora.org>2015-04-24 15:45:58 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2015-05-11 15:01:21 -0700
commit80b8823a7fd689283093ddaf074f9d67ec152aa8 (patch)
tree4ad33a3e8f4aaf9a40c07dff94c9ffedce0c0d38 /audio/include
parentb9cc914d10e31266b43bcefee4cfdd72cd81ec10 (diff)
downloadandroid_system_media-80b8823a7fd689283093ddaf074f9d67ec152aa8.tar.gz
android_system_media-80b8823a7fd689283093ddaf074f9d67ec152aa8.tar.bz2
android_system_media-80b8823a7fd689283093ddaf074f9d67ec152aa8.zip
audio: Add new output flag to indicate TTS stream
Change-Id: I1d7a0094716acdd145f12365b82361bd46e751ae
Diffstat (limited to 'audio/include')
-rw-r--r--audio/include/system/audio.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/include/system/audio.h b/audio/include/system/audio.h
index a7378273..b50c6400 100644
--- a/audio/include/system/audio.h
+++ b/audio/include/system/audio.h
@@ -726,7 +726,11 @@ typedef enum {
AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD = 0x10, // offload playback of compressed
// streams to hardware codec
AUDIO_OUTPUT_FLAG_NON_BLOCKING = 0x20, // use non-blocking write
- AUDIO_OUTPUT_FLAG_HW_AV_SYNC = 0x40 // output uses a hardware A/V synchronization source
+ AUDIO_OUTPUT_FLAG_HW_AV_SYNC = 0x40, // output uses a hardware A/V synchronization source
+ AUDIO_OUTPUT_FLAG_TTS = 0x80 // output for streams transmitted through speaker
+ // at a sample rate high enough to accommodate
+ // lower-range ultrasonic playback
+
} audio_output_flags_t;
/* The audio input flags are analogous to audio output flags.