• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
sound advice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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/


  • Follow-Ups:
    • Re: sound advice
      • From: Nathan Day <email@hidden>
  • Prev by Date: Re: Connecting standard output to an NSTextView
  • Next by Date: NSDrawer setTrailingOffset change the min size of parentWindow
  • Previous by thread: Re: Connecting standard output to an NSTextView
  • Next by thread: Re: sound advice
  • Index(es):
    • Date
    • Thread