On 25. 08. 24 20:16, Pavel Hofman wrote:
Hi, Please is it possible to restrict the hw params space for the plug plugin by some alsa configuration, so that it reports/accepts only a specific number of channels/specific sample format? I was not able to figure it out, I apologize if it's trivial :-)
Hi, here's a quick example: === pcm.hubcap { type plug slave { pcm "hw:Loopback,1,0" rate 48000 format S16_LE } } === Documentation: https://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html Jaroslav -- Jaroslav Kysela <perex@xxxxxxxx> Linux Sound Maintainer; ALSA Project; Red Hat, Inc.