Re: playing files from disk [was: Help for dumb *****]
Re: playing files from disk [was: Help for dumb *****]
- Subject: Re: playing files from disk [was: Help for dumb *****]
- From: Arthur Clemens <email@hidden>
- Date: Tue, 26 Mar 2002 20:30:23 +0100
read up on pthread_cond_signal and pthread_cond_wait.
Your ioproc should call pthread_cond_signal when the buffer is empty
and the feeder should call pthread_cond_wait to wait for these signals.
Ok, in searching the sparse docs, I just wanted to share this link:
http://developer.apple.com/technotes/tn/tn2028.html#MacOSXThreading
will read it now...
Is there a reason to use pthreads instead of NSThreads in a Cocoa application?
One other question: if I want to play multiple files from disk, would
I need multiple IOprocs, or could I use one IOproc that iterates
through all the channels?
Arthur
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.