mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
acp: return map on success
We need to return the channelmap when we have successfully filled it.
This commit is contained in:
parent
2c4d36e4d0
commit
30d9b743a2
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ static inline pa_channel_map* pa_channel_map_init_auto(pa_channel_map *m, unsign
|
|||
case PA_CHANNEL_MAP_AUX:
|
||||
for (i = 0; i < channels; i++)
|
||||
m->map[i] = PA_CHANNEL_POSITION_AUX0 + (i & 31);
|
||||
break;
|
||||
return m;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue