summaryrefslogtreecommitdiffstats
path: root/include/hardware_legacy/AudioHardwareInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hardware_legacy/AudioHardwareInterface.h')
-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 */