> > so the unit is samples not frames. does snd_pcm_prepare will reset > > the counter or not? > > You said that snd_pcm_prepare() returns -EIO, so I guess the driver > does not. you mean the drivers doesn't work very well when snd_pcm_prepare called. > > my platform is Freescale i.mx27 TO1, the audio driver is come from Freescale. > Then I'd suggest you'd ask Freescale. thank you very much. I'll ask Freescale to clarify this problem. > In any case I cannot help you if you don't tell me where to find the > source code of the driver. Actually I can give the driver. How do I give you the file? thank you very much. Best Regards, akio _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel