summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2014-05-08 18:24:06 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-08 18:24:06 +0000
commit9c599afbc0fffdb98a5c80f0dbe39cc56b29971e (patch)
tree4448bf6c837f2c1ae43ea4d265b481b21d50ce9a /include
parent5eabea5585ec32196e305ada279317c78fc924c3 (diff)
parent62038fc4c5c596f04a87388bb42bdef13d359c39 (diff)
downloadhardware_libhardware_legacy-9c599afbc0fffdb98a5c80f0dbe39cc56b29971e.zip
hardware_libhardware_legacy-9c599afbc0fffdb98a5c80f0dbe39cc56b29971e.tar.gz
hardware_libhardware_legacy-9c599afbc0fffdb98a5c80f0dbe39cc56b29971e.tar.bz2
am 62038fc4: am 2c388a44: am 8eb3354a: Merge "Audio: add an openOutputStreamWithFlags API"
* commit '62038fc4c5c596f04a87388bb42bdef13d359c39': Audio: add an openOutputStreamWithFlags API
Diffstat (limited to 'include')
-rw-r--r--include/hardware_legacy/AudioHardwareInterface.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/hardware_legacy/AudioHardwareInterface.h b/include/hardware_legacy/AudioHardwareInterface.h
index b466000..f5b38ea 100644
--- a/include/hardware_legacy/AudioHardwareInterface.h
+++ b/include/hardware_legacy/AudioHardwareInterface.h
@@ -250,6 +250,13 @@ public:
uint32_t *channels=0,
uint32_t *sampleRate=0,
status_t *status=0) = 0;
+ virtual AudioStreamOut* openOutputStreamWithFlags(
+ uint32_t devices,
+ audio_output_flags_t flags=(audio_output_flags_t)0,
+ int *format=0,
+ uint32_t *channels=0,
+ uint32_t *sampleRate=0,
+ status_t *status=0);
virtual void closeOutputStream(AudioStreamOut* out) = 0;
/** This method creates and opens the audio hardware input stream */