I want to be able to detect when sample rate changes during runtime. 

An example scenario (by coincidence very similar to my application): a 
multi-channel convolution engine runs on an RME9652 which operates at 
44.1 kHz as clock slave. However, in runtime, the user switches cables 
to the card, which changes the sample rate to 48 kHz. Then the 
convolution engine gets a signal or something from ALSA that says "hey, 
the sample rate changed to 48 kHz, what are you going to do about it?", 
and then the convolution engine changes filters to those designed for 
48 kHz, or exits with an error if they don't exist.

So, what methods are there to solve this problem?

/Anders Torger

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to