• 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: NSSound pauses before first play
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSound pauses before first play


  • Subject: Re: NSSound pauses before first play
  • From: Eric Peyton <email@hidden>
  • Date: Wed, 8 Aug 2001 16:51:43 -0500

I believe this pause is caused by the Cocoa frameworks lazily loading the quicktime information needed to play the sound. I'm not sure how you would trigger it to load earlier, but I am sure there is a way.

(Maybe playing a very short, empty sound file during app startup would do it).

Eric

On Monday, January 5, 1970, at 04:34 PM, Alex Golovinsky wrote:

I load an NSSound object and pass NO to withRef. This NSSound pauses to load before its first call to play nontheless; all following calls do not cause a pause. Is there any way to eliminate this pause?

thanks in advance, and see if you can use the word 'pause' more often than I did:)

Alex
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


  • Prev by Date: Re: Steve Jobs (Re: It is time for me to take a decision.) [Slightly OT]
  • Next by Date: Re: Cocoa downgrade from openstep?
  • Previous by thread: Re: GNUStep compatability
  • Next by thread: Re: NSSound pauses before first play
  • Index(es):
    • Date
    • Thread