On Tue, 10 Jun 2003, Eric Allamanche wrote: > >>the ALSA hardware parameter model doesn't include the notion of an > >>"external rate". > > Is this is a design flaw? How to tell the input frequency? Need some > additionnal hardware?
No. It is not. As Paul mentioned, we have universal control for this purpose. It can notify the application about rate change independently from the PCM layer and multiple applications might react to this state change. Also, the official behaviour for external rate is: compare the external rate by rate given by application; when the driver handles new samples and and stream trigger time; if rate does not match, fail with error. This behaviour assures that application does not get samples with wrong rate. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel