Hi Stephane, I think it may help if you provide your code if it's not a big secret (at least main parts like device initialization, read/write loop). I guess the problem is rather in your application than in driver. Theorectically OSS may not always detect underruns (for example when interrupt handlers where underruns/overruns are detected are executed with considerable delay caused by system load or similar reasons, the application cannot fill audio buffer in time but fills it before interrupt handler is invoked). But I hardly can imagine any situation (especially with high system load) when nothing is detected at all.
Regards, Zakhar Levchenko On 10/9/08, Stéphane Letz <[EMAIL PROTECTED]> wrote: > > >> > >> Underruns/overruns works when used with vmix device (/dev/dsp0), bit > >> not when opening othesr (non vmix devices like /dev/dsp1) in OX_ECL > >> and using SNDCTL_DSP_COOKEDMODE. > >> > >> Regards > >> > >> Stephane Letz > >> _______________________________________________ > >> oss-devel mailing list > >> oss-devel@mailman.opensound.com > >> http://mailman.opensound.com/mailman/listinfo/oss-devel > >> > > > > > > This indicates that the vmix device is at fault.....we have seen > > number > > of posts saying that VMIX causes a high load - however I'm not > > convinced > > that the CPU is getting starved and causing underruns - we aren't > > dealing with 386 or 486 class CPUs. > > > > > > regards > > Dev > > > > > > > > Sorry I was not clear: > > Underruns/overruns *detection* works when used with vmix device (/dev/ > dsp0) and high CPU load, but *does not* work when opening other (non > vmix devices like /dev/dsp1) in O_EXCL and using > SNDCTL_DSP_COOKEDMODE (and again with high CPU load). > > > Regards > > Stephane Letz > _______________________________________________ > oss-devel mailing list > oss-devel@mailman.opensound.com > http://mailman.opensound.com/mailman/listinfo/oss-devel >
_______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel