mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
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
This commit is contained in:
parent
d6b69444be
commit
37babc6d1a
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue