Hannu Savolainen wrote: > SNDCTL_DSP_SYNC and SNDCTL_DSP_RESET are likely to cause problems with > emulations. Many applications use these calls in wrong situations "just > to make sure" which causes many kind of problems. OSS emulations may > also do whatever they see necessary instead of doing just the right thing.
Thanks everyone. I figured out the problem. It turns out to be a bug in the driver. When the application called sync, ALSA re-initialized my driver. This caused my driver to re-program the DMA controller, and for some reason it didn't like that (even though it was reprogrammed with the same values). I modified the driver's programming sequence, and everything works now. -- Timur Tabi Linux kernel developer at Freescale _______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel