At Mon, 06 Jan 2003 11:28:41 -0500,
Paul Davis wrote:
> 
> >1) offer all available sample rates in open() or reduce them as suggested
> >   by Anders
> >2) in trigger(START)
> >   - check if current sample rate match with hw_params - if not - fail
> >3) in interrupt callback
> >   - same job as trigger does
> 
> what about checking in read/write operations, in case the external
> clock has changed?

iiuc, read/write are not called when the buffer is mmapped, so this
might not work in every case...

if interrupts are really generated, we can send some notification in
the interrupt handler (just like snd_ctl_notify() does), and check it
in the next (or sleeping) read/write/poll operation.


Takashi


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to