mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
alsa: add option do use chmap from alsa, disable by default
This should be more in line with what PulseAudio does and so lead to less surprises. See #289
This commit is contained in:
parent
30dfe16c52
commit
2b0b44edc0
4 changed files with 39 additions and 17 deletions
|
|
@ -50,6 +50,7 @@ extern "C" {
|
|||
|
||||
#define DEFAULT_RATE 48000u
|
||||
#define DEFAULT_CHANNELS 2u
|
||||
#define DEFAULT_USE_CHMAP false
|
||||
|
||||
struct props {
|
||||
char device[64];
|
||||
|
|
@ -57,6 +58,7 @@ struct props {
|
|||
char card_name[128];
|
||||
uint32_t min_latency;
|
||||
uint32_t max_latency;
|
||||
bool use_chmap;
|
||||
};
|
||||
|
||||
#define MAX_BUFFERS 32
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue