mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
pulse-server: PLAY_SAMPLE does not need a valid sink id or name
This commit is contained in:
parent
01b473e695
commit
cd25a1e5e7
1 changed files with 1 additions and 2 deletions
|
|
@ -2302,8 +2302,7 @@ static int do_play_sample(struct client *client, uint32_t command, uint32_t tag,
|
|||
impl, client->name, commands[command].name, tag,
|
||||
sink_index, sink_name, name);
|
||||
|
||||
if ((sink_index == SPA_ID_INVALID && sink_name == NULL) ||
|
||||
(sink_index != SPA_ID_INVALID && sink_name != NULL))
|
||||
if (sink_index != SPA_ID_INVALID && sink_name != NULL)
|
||||
goto error_inval;
|
||||
|
||||
if (sink_name != NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue