aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <[email protected]>2020-07-29 21:29:09 +0200
committerPaul Adenot <[email protected]>2020-10-09 19:03:50 +0200
commitdce06b123d69db3acafeeea811d845d491630216 (patch)
tree651fe0fbca1cf9ed7e4a9e19aabe03fcc5e8d683 /include
parent8d596fee96558cd0f17447b2445444c0594a1be1 (diff)
downloadcubeb-dce06b123d69db3acafeeea811d845d491630216.tar.gz
cubeb-dce06b123d69db3acafeeea811d845d491630216.zip
Add stream preference to request a persistent stream session and implement this in WASAPI.
Diffstat (limited to 'include')
-rw-r--r--include/cubeb/cubeb.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/cubeb/cubeb.h b/include/cubeb/cubeb.h
index 66780cd..9b92bae 100644
--- a/include/cubeb/cubeb.h
+++ b/include/cubeb/cubeb.h
@@ -236,8 +236,12 @@ typedef enum {
selected, as well as the quality of the stream,
for example to accomodate bluetooth SCO modes on
bluetooth devices. */
- CUBEB_STREAM_PREF_RAW = 0x08 /**< Windows only. Bypass all signal processing
+ CUBEB_STREAM_PREF_RAW = 0x08, /**< Windows only. Bypass all signal processing
except for always on APO, driver and hardware. */
+ CUBEB_STREAM_PREF_PERSIST = 0x10, /**< Request that the volume and mute settings
+ should persist across restarts of the stream
+ and/or application. May not be honored for
+ all backends and platforms. */
} cubeb_stream_prefs;
/** Stream format initialization parameters. */