diff options
author | Tanu Kaskinen <tanuk@iki.fi> | 2019-12-21 09:58:57 +0200 |
---|---|---|
committer | Tanu Kaskinen <tanuk@iki.fi> | 2019-12-21 09:58:57 +0200 |
commit | 37babc6d1a5b69fb1b3c70911d1ee3be465fb306 (patch) | |
tree | 38008022874f03e0fc8e9e82424b67abbe38aaa2 /src/pulse | |
parent | d6b69444be44a5baf49ec8385c60b9fa393a3b34 (diff) | |
download | pulseaudio-37babc6d1a5b69fb1b3c70911d1ee3be465fb306.tar.gz |
stream: clarify the meaning of NULL device
The old wording could be understood so that the default sink/source
would always be used, but sometimes a policy module does a different
decision (for example module-stream-restore).
Related: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/767
Diffstat (limited to 'src/pulse')
-rw-r--r-- | src/pulse/stream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulse/stream.h b/src/pulse/stream.h index 7913f7fef..f9b52d413 100644 --- a/src/pulse/stream.h +++ b/src/pulse/stream.h @@ -414,7 +414,7 @@ int pa_stream_is_corked(const pa_stream *s); * Returns zero on success. */ int pa_stream_connect_playback( pa_stream *s /**< The stream to connect to a sink */, - const char *dev /**< Name of the sink to connect to, or NULL for default */ , + const char *dev /**< Name of the sink to connect to, or NULL to let the server decide */ , const pa_buffer_attr *attr /**< Buffering attributes, or NULL for default */, pa_stream_flags_t flags /**< Additional flags, or 0 for default */, const pa_cvolume *volume /**< Initial volume, or NULL for default */, @@ -423,7 +423,7 @@ int pa_stream_connect_playback( /** Connect the stream to a source. Returns zero on success. */ int pa_stream_connect_record( pa_stream *s /**< The stream to connect to a source */ , - const char *dev /**< Name of the source to connect to, or NULL for default */, + const char *dev /**< Name of the source to connect to, or NULL to let the server decide */, const pa_buffer_attr *attr /**< Buffer attributes, or NULL for default */, pa_stream_flags_t flags /**< Additional flags, or 0 for default */); |