Re: More thread scheduling observations
Re: More thread scheduling observations
- Subject: Re: More thread scheduling observations
- From: Kurt Revis <email@hidden>
- Date: Mon, 6 May 2002 05:16:38 -0700
Many thanks to all of you for your contributions. I finally feel like I
understand what's going on.
On Sunday, May 5, 2002, at 02:32 PM, Bill Stewart wrote:
ps -axM
Very helpful! I didn't realize you could see the priority and usage of
each individual thread. I wish I knew about that earlier...
This will be covered at WWDC - I don't feel I should pre-empt (pun
intended, sigh!) that presentation, so I'll make sure we give out a
summary
after the event.
But of course. Have a fun week.
There will also be a new tool in Jaguar that we've written called
"Million
Monkees"
Where do you guys get these names? Weren't four Monkees enough?
Anyway. To contribute some substance, here's the code I'm using to play
a sound file from disk, using QuickTime for decoding and decompression,
but using CoreAudio for playback. Same basic idea as the code I posted
earlier that was limited to AIFFs, but this will play any audio format
that QT understands (including MP3s), and it also increases the priority
on the feeder thread. This seems to work as well as iTunes does, on my
machine.
http://www.snoize.com/Code/PlayBufferedSoundFile.tar.gz
It sounds like the QT part of this will be obsolete when Jaguar is
released, if the AudioConverter in CoreAudio will be able to do the
decompression. (Yay!) But maybe someone will find it useful in the
meantime.
--
Kurt Revis
email@hidden
_______________________________________________
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.