alsa: pass AES bits to S/PDIF devices

This is the right thing to do and might even fix output to some
devices.
This commit is contained in:
Wim Taymans 2021-09-14 12:42:03 +02:00
parent 7543ad0766
commit 349324b9a6
4 changed files with 31 additions and 9 deletions

View file

@ -360,7 +360,7 @@ static int impl_node_send_command(void *object, const struct spa_command *comman
switch (SPA_NODE_COMMAND_ID(command)) {
case SPA_NODE_COMMAND_ParamBegin:
if ((res = spa_alsa_open(this)) < 0)
if ((res = spa_alsa_open(this, NULL)) < 0)
return res;
break;
case SPA_NODE_COMMAND_ParamEnd: