• 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
Re: sound advice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sound advice


  • Subject: Re: sound advice
  • From: Nathan Day <email@hidden>
  • Date: Sat, 2 Feb 2002 20:48:16 +1030

I've been using NSSound, initWithContentsOfFile, play, and it works fine for me using the system sounds which are just aiff. Are your sounds some weird sample rate or something.

On Saturday, February 2, 2002, at 04:53 PM, Matt Neuburg wrote:

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.
--


References: 
 >sound advice (From: Matt Neuburg <email@hidden>)

  • Prev by Date: my first scriptable app
  • Next by Date: Re: Connecting standard output to an NSTextView
  • Previous by thread: sound advice
  • Next by thread: Re: sound advice
  • Index(es):
    • Date
    • Thread