From 3e000c11c4711b23c2a1dfb406e8b308e54b8bab Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 7 Dec 2022 12:21:32 +0100 Subject: [PATCH] acp: do probing in 48000 Hz again And... we're back to 48Khz probing. Some devices fail to probe with 44.1KHz so when we need to choose between 2 bad things we choose to do the right thing, which is probe in 48KHz. Fixes #2857 --- spa/plugins/alsa/acp/acp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/alsa/acp/acp.c b/spa/plugins/alsa/acp/acp.c index 2e352d15e..b969c3d89 100644 --- a/spa/plugins/alsa/acp/acp.c +++ b/spa/plugins/alsa/acp/acp.c @@ -34,7 +34,7 @@ void *_acp_log_data; struct spa_i18n *acp_i18n; -#define DEFAULT_RATE 44100 +#define DEFAULT_RATE 48000 #define VOLUME_ACCURACY (PA_VOLUME_NORM/100) /* don't require volume adjustments to be perfectly correct. don't necessarily extend granularity in software unless the differences get greater than this level */