diff options
author | Alex Chronopoulos <[email protected]> | 2020-06-16 15:04:37 +0200 |
---|---|---|
committer | Matthew Gregan <[email protected]> | 2020-06-24 18:36:30 +1200 |
commit | 7bc4f13d51957cbc0c3887969d2d91d6a1d0e529 (patch) | |
tree | 58bcde581b11922b3e20a01631b904e6d6a1d55c /include | |
parent | e2ffb10843c5456212f480c658edfc29930e4f55 (diff) | |
download | cubeb-7bc4f13d51957cbc0c3887969d2d91d6a1d0e529.tar.gz cubeb-7bc4f13d51957cbc0c3887969d2d91d6a1d0e529.zip |
Add in header doc the switching devices behavior.
Diffstat (limited to 'include')
-rw-r--r-- | include/cubeb/cubeb.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/cubeb/cubeb.h b/include/cubeb/cubeb.h index f372831..f8abfce 100644 --- a/include/cubeb/cubeb.h +++ b/include/cubeb/cubeb.h @@ -487,11 +487,17 @@ CUBEB_EXPORT void cubeb_destroy(cubeb * context); cubeb stream. @param stream_name A name for this stream. @param input_device Device for the input side of the stream. If NULL the - default input device is used. + default input device is used. Passing a valid cubeb_devid + means the stream only ever uses that device. Passing a NULL + cubeb_devid allows the stream to follow that device type's + OS default. @param input_stream_params Parameters for the input side of the stream, or NULL if this stream is output only. @param output_device Device for the output side of the stream. If NULL the - default output device is used. + default output device is used. Passing a valid cubeb_devid + means the stream only ever uses that device. Passing a NULL + cubeb_devid allows the stream to follow that device type's + OS default. @param output_stream_params Parameters for the output side of the stream, or NULL if this stream is input only. @param latency_frames Stream latency in frames. Valid range |