Requiring the same sample rate for playback and record?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux