mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-23 01:40:24 -05:00
spa: acp: get and emit UCM information for SplitPCM devices
When api.alsa.split-enable=true for ACP device, instruct UCM to not use alsa-lib plugins for SplitPCM devices. Grab the information from UCM for the intended channel remapping, and add the splitting information to the nodes emitted. Session manager can then look at that, and load nodes to do the channel splitting.
This commit is contained in:
parent
7c7a54dd87
commit
dcccfcab7f
12 changed files with 422 additions and 22 deletions
|
|
@ -50,6 +50,7 @@ struct props {
|
|||
char device[64];
|
||||
char device_name[128];
|
||||
char card_name[128];
|
||||
char media_class[128];
|
||||
bool use_chmap;
|
||||
};
|
||||
|
||||
|
|
@ -153,6 +154,7 @@ struct state {
|
|||
unsigned int disable_mmap:1;
|
||||
unsigned int disable_batch:1;
|
||||
unsigned int disable_tsched:1;
|
||||
unsigned int is_split_parent:1;
|
||||
char clock_name[64];
|
||||
uint32_t quantum_limit;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue