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 <j...@mooseyard.com> 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 (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