sound advice
sound advice
- Subject: sound advice
- From: Matt Neuburg <email@hidden>
- Date: Fri, 1 Feb 2002 22:23:14 -0800
What's the recommended way to play a sound? My sound is an aiff file in my
bundle. I've been playing it with soundNamed and play, but the sound is
usually choppy and I've had reports that the app sometimes crashes. I've
tried preloading the sound file into memory as NSData and playing from
there, but the sound is still usually choppy, even though it's a very short
sound. Should I be playing the sound in another thread? Any advice
appreciated - m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes gar anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/