20 Jun
2008
20 Jun
'08
9:08 p.m.
In my driver, how do I tell ALSA that the sample rate for playback must be the same as for capture?
I know I can have my driver remember the sample rate for the first stream open, and then if the second stream doesn't specify the same sample rate, it can reject it, but this is inelegant. I'm hoping there's a more straightforward way.
--
Timur Tabi
Linux kernel developer at Freescale