aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cubeb_audiounit.cpp
diff options
context:
space:
mode:
authorMatthew Gregan <[email protected]>2018-09-17 18:53:35 +1200
committerMatthew Gregan <[email protected]>2018-09-17 18:53:35 +1200
commitf48857a95617ab98ea2a8f01adfcc85d70f68f34 (patch)
tree4c3ef0523ae158da70d87d3bb19303735ffdd76d /src/cubeb_audiounit.cpp
parent7f3726d4b1179a4cbca859e4b1b767fa298f49b2 (diff)
downloadcubeb-f48857a95617ab98ea2a8f01adfcc85d70f68f34.tar.gz
cubeb-f48857a95617ab98ea2a8f01adfcc85d70f68f34.zip
s/OUTPUT/DEV_OUTPUT/
Diffstat (limited to 'src/cubeb_audiounit.cpp')
-rw-r--r--src/cubeb_audiounit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cubeb_audiounit.cpp b/src/cubeb_audiounit.cpp
index 37ac08c..92b8f8c 100644
--- a/src/cubeb_audiounit.cpp
+++ b/src/cubeb_audiounit.cpp
@@ -454,7 +454,7 @@ audiounit_render_input(cubeb_stream * stm,
// kAudioUnitErr_CannotDoInCurrentContext is returned when using a BT
// headset and the profile is changed from A2DP to HFP/HSP. The previous
// output device is no longer valid and must be reset.
- audiounit_reinit_stream_async(stm, DEV_INPUT | OUTPUT);
+ audiounit_reinit_stream_async(stm, DEV_INPUT | DEV_OUTPUT);
}
// For now state that no error occurred and feed silence, stream will be
// resumed once reinit has completed.