mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-28 01:40:43 -05:00
spa: alsa: actually set the channel map when use-chmap=true
When using channel maps, the active map should be set using snd_pcm_set_chmap(). This has to be called when stream is in prepared state. Track which of the maps the selected format has set, and set it in do_prepare().
This commit is contained in:
parent
bb0efd777f
commit
e91a79dab7
2 changed files with 106 additions and 2 deletions
|
|
@ -280,6 +280,8 @@ struct state {
|
|||
struct spa_list driver_link;
|
||||
|
||||
struct rt_state rt;
|
||||
|
||||
snd_pcm_chmap_t *alsa_chmap;
|
||||
};
|
||||
|
||||
struct spa_pod *spa_alsa_enum_propinfo(struct state *state,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue