aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMatthew Gregan <[email protected]>2019-05-17 09:21:59 +1200
committerGitHub <[email protected]>2019-05-17 09:21:59 +1200
commitb9e2c50e51fc58b31b553b5364efacec24ebb76e (patch)
tree5dd5a7d9d2d21f02b30363a3ae3242de81053567 /include
parent64aa80f330a3dc510b1e3ac0e92cc6bed129a9a6 (diff)
downloadcubeb-b9e2c50e51fc58b31b553b5364efacec24ebb76e.tar.gz
cubeb-b9e2c50e51fc58b31b553b5364efacec24ebb76e.zip
wasapi: Add flag to disable default device switching. (#507)
This has been merged in Gecko via BMO# 1427011 for quite some time.
Diffstat (limited to 'include')
-rw-r--r--include/cubeb/cubeb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cubeb/cubeb.h b/include/cubeb/cubeb.h
index 628d533..3305eb6 100644
--- a/include/cubeb/cubeb.h
+++ b/include/cubeb/cubeb.h
@@ -227,6 +227,9 @@ typedef enum {
specified on the input params and an
output device to loopback from should
be passed in place of an input device. */
+ CUBEB_STREAM_PREF_DISABLE_DEVICE_SWITCHING = 0x02, /**< Disable switching
+ default device on OS
+ changes. */
CUBEB_STREAM_PREF_VOICE = 0x04 /**< This stream is going to transport voice data.
Depending on the backend and platform, this can
change the audio input or output devices