From 698978253b7fd6dae29e8b318353f339b2324f7a Mon Sep 17 00:00:00 2001 From: Alex P Date: Fri, 21 Nov 2025 20:02:53 +0200 Subject: [PATCH] Remove redundant ALSA plugins (plug, rate) from build We use direct hw: device access with SpeexDSP for resampling, so the ALSA plugin layer (plug) and rate conversion plugin are not needed. This reduces library size while maintaining all required functionality. --- .devcontainer/install_audio_deps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/install_audio_deps.sh b/.devcontainer/install_audio_deps.sh index 79c45cbe..d0ebf58a 100755 --- a/.devcontainer/install_audio_deps.sh +++ b/.devcontainer/install_audio_deps.sh @@ -48,10 +48,10 @@ export CXXFLAGS="$OPTIM_CFLAGS" cd alsa-lib-${ALSA_VERSION} if [ ! -f .built ]; then chown -R $(whoami):$(whoami) . - # Minimal ALSA configuration for audio capture/playback + # Minimal ALSA configuration for direct hw: device access with SpeexDSP resampling CFLAGS="$OPTIM_CFLAGS" ./configure --host $BUILDKIT_FLAVOR \ --enable-static=yes --enable-shared=no \ - --with-pcm-plugins=plug,rate,linear,copy \ + --with-pcm-plugins=linear,copy \ --disable-seq --disable-rawmidi --disable-ucm \ --disable-python --disable-old-symbols \ --disable-topology --disable-hwdep --disable-mixer \