Re: Cocoa Sounds
Re: Cocoa Sounds
- Subject: Re: Cocoa Sounds
- From: Chunk 1978 <email@hidden>
- Date: Mon, 9 Nov 2009 19:43:35 -0500
i've also only read about the complexity of OpenAL, which i assume is
even more low level in the sense that CoreAudio to OpenAL it's
anologous to CoreAnimation to OpenGL.
regardless, is this NSSound lag a filed bug? it's seems really
unfortunate that there is a 1-second lag in loading/executing a 30kb
sound file for some apps using NSSound. while that previously
mentioned workaround is more ideal than a lag, since it's problematic
on macbooks it's not really a seamless solution.
On Mon, Nov 9, 2009 at 7:30 PM, Jens Alfke <email@hidden> wrote:
>
> On Nov 9, 2009, at 3:35 PM, Chunk 1978 wrote:
>
> thanks. haven't had time to test the workaround yet. i'll check out
> coreaudio.
>
> You really don't want to get into CoreAudio unless you're planning on doing
> some serious audio work. The APIs are low-level and complex and will take
> quite a while to learn.
> The preloading workaround for NSSound should suffice if all you care about
> is avoiding a delay before playing the sound.
> —Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden