Hi,
I have a general question about ALSA plugins: Is it possible for an ALSA plugin to reconfigure the sample rate and sample format of its slave in such a way that the software playing through that plugin wouldn't notice?
That is, given some audio stream, the plugin shall be allowed to change the sample rate and format based on control data extracted from the audio data pushed through the plugin. In my imagination, any output format changes should be completely transparent to the sound player; the player would always deliver a stream of audio data at a constant rate, and once in a while the plugin would change the hardware settings. For sure there would be an audible gap during reconfiguration, but that would be OK for me.
Now, is this possible at all?
Best regards, Robert