diff options
author | Kevin Baker <kevinb@ventureresearch.com> | 2025-04-28 11:18:55 -0500 |
---|---|---|
committer | Kevin Baker <kevinb@ventureresearch.com> | 2025-04-28 11:43:18 -0500 |
commit | 3760fde40b9c66ec7fcaf2807f154ad3955d51f8 (patch) | |
tree | 271dd9d64c7938db9ff527024482576544e8fc81 | |
parent | fa4d8faf90b7f37717b138a05e36083d404bb283 (diff) | |
download | meta-freescale-3760fde40b9c66ec7fcaf2807f154ad3955d51f8.tar.gz |
asound.conf: default sample rate to 48000
Change the default sample rate as used with ALSA to 48000 instead of
44100. Most newer content, videos, and web-based content uses 48 kHz
sampling rate, especially with modern codecs like Opus.
Normally applications request ALSA to use a PCM sample rate which
matches the input content when starting playback. However, more complex
applications such as Chromium will internally resample audio to match
the default output. This can result in high CPU usage for resampling,
so having ALSA's default rate match the majority of content is preferred.
-rw-r--r-- | recipes-bsp/alsa-state/alsa-state/imx-mainline-bsp/asound.conf | 4 | ||||
-rw-r--r-- | recipes-bsp/alsa-state/alsa-state/imx-nxp-bsp/asound.conf | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/recipes-bsp/alsa-state/alsa-state/imx-mainline-bsp/asound.conf b/recipes-bsp/alsa-state/alsa-state/imx-mainline-bsp/asound.conf index c511018e..5ed3bdd9 100644 --- a/recipes-bsp/alsa-state/alsa-state/imx-mainline-bsp/asound.conf +++ b/recipes-bsp/alsa-state/alsa-state/imx-mainline-bsp/asound.conf | |||
@@ -218,8 +218,8 @@ rate 8000 | |||
218 | 218 | ||
219 | pcm.asymed{ | 219 | pcm.asymed{ |
220 | type asym | 220 | type asym |
221 | playback.pcm "dmix_44100" | 221 | playback.pcm "dmix_48000" |
222 | capture.pcm "dsnoop_44100" | 222 | capture.pcm "dsnoop_48000" |
223 | } | 223 | } |
224 | 224 | ||
225 | pcm.dsp0{ | 225 | pcm.dsp0{ |
diff --git a/recipes-bsp/alsa-state/alsa-state/imx-nxp-bsp/asound.conf b/recipes-bsp/alsa-state/alsa-state/imx-nxp-bsp/asound.conf index 0084f4a0..f5918669 100644 --- a/recipes-bsp/alsa-state/alsa-state/imx-nxp-bsp/asound.conf +++ b/recipes-bsp/alsa-state/alsa-state/imx-nxp-bsp/asound.conf | |||
@@ -218,8 +218,8 @@ rate 8000 | |||
218 | 218 | ||
219 | pcm.asymed{ | 219 | pcm.asymed{ |
220 | type asym | 220 | type asym |
221 | playback.pcm "dmix_44100" | 221 | playback.pcm "dmix_48000" |
222 | capture.pcm "dsnoop_44100" | 222 | capture.pcm "dsnoop_48000" |
223 | } | 223 | } |
224 | 224 | ||
225 | pcm.dsp0{ | 225 | pcm.dsp0{ |