aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul Adenot <[email protected]>2019-04-10 18:01:55 +0200
committerPaul Adenot <[email protected]>2019-04-10 18:19:29 +0200
commitc0a71704ae935666ecbd0e8a61345de583139607 (patch)
tree921c736247b92a775cb5043efbd7072be48d0161
parentc2ed6c9e440db7d3275bf3adaca7071970d45006 (diff)
downloadcubeb-c0a71704ae935666ecbd0e8a61345de583139607.tar.gz
cubeb-c0a71704ae935666ecbd0e8a61345de583139607.zip
Bug 1531833 - Add a cubeb pref to indicate the this audio input and output streams will transport voice. r?kinetik
-rw-r--r--include/cubeb/cubeb.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/cubeb/cubeb.h b/include/cubeb/cubeb.h
index df00a87..628d533 100644
--- a/include/cubeb/cubeb.h
+++ b/include/cubeb/cubeb.h
@@ -223,10 +223,16 @@ enum {
/** Miscellaneous stream preferences. */
typedef enum {
CUBEB_STREAM_PREF_NONE = 0x00, /**< No stream preferences are requested. */
- CUBEB_STREAM_PREF_LOOPBACK = 0x01 /**< Request a loopback stream. Should be
+ CUBEB_STREAM_PREF_LOOPBACK = 0x01, /**< Request a loopback stream. Should be
specified on the input params and an
output device to loopback from should
be passed in place of an input device. */
+ 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
+ selected, as well as the quality of the stream,
+ for example to accomodate bluetooth SCO modes on
+ bluetooth devices. */
} cubeb_stream_prefs;
/** Stream format initialization parameters. */