On Tuesday 19 August 2008 15:57:47 Hannu Savolainen wrote: > Ok. > > I split oss_audio_chpoll() to separate input and output handlers. Now > poll/select will report available data if dmap->interrupt_counter > 0. > This counter gets incremented at each fragment boundary. Calling > GETIPTR/GETOPTR clears the counter to zero. I think approach should work > because every mmap application will make these calls.
I ran pulseaudio ("module-oss rate=48000", "module-native-protocol-unix") and paplay and it still doesn't work when mmap is used. strace output is attached - I traced only poll and ioctl (I sent the SIGINT in order to stop pulseaudio). Yours, Yair K.
strace.gz
Description: GNU Zip compressed data
_______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel