What I've done in the past is to simply play a silent sound before I actually 
need to play a sound for real. This "primes the pump".

_murat


On Nov 9, 2009, at 11:40 AM, lbland wrote:

> hi-
> 
> On Nov 9, 2009, at 12:58 PM, Chunk 1978 wrote:
> 
>> one thing i've always had an issue with is sound lag, which always
>> (yet only) happens during a first sound.  after the initial lag,
>> sounds will play on time.  at first i though it was my code, but
>> recently i've noticed that it happens in Calculator.
>> 
>> if you open Calculator, then choose Speech > Speak Button Pressed,
>> you'll notice a lag when you first press a button.
>> 
>> how is it possible to avoid this?  are there other 3rd frameworks for
>> sound that would be more ideal to use other than what's available in
>> cocoa?
> 
> It happens in our Cocoa apps. It also happens with the Apple Mail app.
> 
> Click "Get Mail" and after Activity stops and 4 seconds later there is the 
> beep.
> 
> This is on Mac OS X 10.6.1 and the latest and fully loaded MacBook Pro 
> computers.
> 
> So, I think the lag is simply what you get.
> 
> ... the good news is that other people have the problem. The bad news is: 
> since reading this post (and the one a few days ago) every time I check my 
> mail I now notice that the sound really lags!
> 
> thanks!-
> 
> -lance
> 
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/mlist0987%40gmail.com
> 
> This email sent to mlist0...@gmail.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to