Tanu Kaskinen pushed to branch master at PulseAudio / pulseaudio
Commits: 37babc6d by Tanu Kaskinen at 2019-12-21T07:58:57Z 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 - - - - - 1 changed file: - src/pulse/stream.h Changes: ===================================== 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 */); View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/37babc6d1a5b69fb1b3c70911d1ee3be465fb306 -- View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/37babc6d1a5b69fb1b3c70911d1ee3be465fb306 You're receiving this email because of your account on gitlab.freedesktop.org.
_______________________________________________ pulseaudio-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits
