Hello, I'm having trouble with resetting an ALSA audio device (an RME 9652 Hammerfall card) when the audio input buffer overflows. I'm using the following code: rc = snd_pcm_drain(pcmIn); rc = snd_pcm_prepare(pcmIn); rc = snd_pcm_start(pcmIn); where pcmIn is a snd_pcm_t* variable that's been initialized by snd_pcm_open. I don't usually any problems reading from the device using the same variable, and the return code from the above calls is always zero, but it appears that once my audio input buffer overflows, I can never get going again--it just keeps overflowing (snd_pcm_readn returns -EPIPE). Any ideas what I'm doing wrong?
Jon Webb pingAUDIO ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel