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. > > Best regards,
Following this change, aRts takes 100% CPU and aborts. strace output is attached (I didn't try to play anything, just start and SIGINT). Yours, Yair K.
artsd.bz2
Description: BZip2 compressed data
_______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel