mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
alsa: Allow sample spec override in mappings
This allows mappings to override some or all of the sample_spec used to open the ALSA device. The intention, to start with, is to use this for devices in UCM that need to be opened at a specific rate (like modem devices). This can be extended to allow overrides in profile-sets as well.
This commit is contained in:
parent
6825df8cec
commit
6a6ee8fd22
4 changed files with 28 additions and 0 deletions
|
|
@ -251,6 +251,7 @@ struct pa_alsa_mapping {
|
|||
/* These are copied over to the resultant sink/source */
|
||||
pa_proplist *proplist;
|
||||
|
||||
pa_sample_spec sample_spec;
|
||||
pa_channel_map channel_map;
|
||||
|
||||
char **device_strings;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue