On Tue, 30 May 2006, Johannes Berg wrote: > On Tue, 2006-05-30 at 16:07 +0200, Jaroslav Kysela wrote: > > > Yes, the stream must go to the DRAINING state immediately when rate (or > > other parameter) does not match (it's good to check this condition in the > > interrupt handler) and trigger() callback must return -EIO in this case > > when stream is requested to come up (START, PAUSE_RELEASE or RESUME). > > Do you know if there's any sample code for this somewhere? Or if any > drivers implement this properly? Check pdaudiocf_pcm.c and i2c/other/ak4117.c. Jaroslav ----- Jaroslav Kysela <perex@xxxxxxx> Linux Kernel Sound Maintainer ALSA Project, SUSE Labs _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel