• 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 - pause and resume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSound - pause and resume


  • Subject: Re: NSSound - pause and resume
  • From: John Nestor <email@hidden>
  • Date: Thu, 10 Jan 2002 18:06:15 -0500

OK - let's assume it is a consequence of having to run the cache to zero
before pausing. That sounds like a pretty useless pause functionality.
The QT pause mechanisms stop instantly (on the same sound clips).

"How does QT do this and why doesn't NSSound", he paused to say (anyone
remember Switfties?).

jgo wrote:

>>My sound clips are about five seconds long. I figure I can hit
>>play, then pause in less than a second. The remaining 4 seconds
>>of the clip will play, right to the end. That doesn't sound like
>>buffering or threading to me. Appreciate the thought, however.
>>
>
>Definitely sounds like buffering, to me.
>
>>Any idea how I could test your suggestions more rigorously?
>>
>If I were writing the back-line code, I'd be tempted to use
>a 1MB buffer or larger. With OS X, the assumptions for memory
>availability tend to the generous. (I used to use bigger
>buffers for crunching through system accounting logs back in
>the day when 1MB was the max total memory on a mainframe.)
>On 9- it used to be possible to jigger with the buffer (cache)
>sizes used for playing CDs, and I remember having this same
>problem you describe.
>
>John G. Otto, Eagle Scout, Knight, Cybernetic Praxeologist
>Existence, Consciousness, Identity, Life, Liberty, Property, Privacy, Justice


  • Prev by Date: Re: Easiest way to delete a file
  • Next by Date: Re: Easiest way to delete a file
  • Previous by thread: NSSound - pause and resume
  • Next by thread: Re: Cocoa Developer in Training: Language Question (ObjC or Java)?
  • Index(es):
    • Date
    • Thread