I am writing a simple capture program using 0.9.8 and a PDAudioCF card. I want to recover gracefully when the A/D converter stops and starts sending signal during capture. When signal is lost, I call snd_pcm_start periodically until the signal returns and continue capture. On odd numbered starts (first, third, fifth stop/start of A/D converter) everything recovers normally and I continue to capture the output of the converter. However, on even numbered starts (second, fourth, sixth stop/start of A/D converter) I capture full scale white noise.

I'm probably not doing something right. Any pointers or suggestions will be greatly appreciated.

thanks,
burris



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to