i'm using Cocoa's NSSound. here's is how i play sounds: -=-=-=-=-
if ([[soundRadioGroup cellWithTag:1] state] == NSOnState) { NSSound *theSound = [NSSound soundNamed:@"mySound.m4a"]; if ([theSound isPlaying]) [theSound stop]; [theSound play]; } -=-=-=-=- the first sound is always lagged. for example, if i press a button to play a sound, the button's pressed state will remain until the sound is loaded and played. after the first sound plays, all other sounds will play without lag. On Mon, Nov 9, 2009 at 1:30 PM, Shawn Erickson <shaw...@gmail.com> wrote: > > > On Mon, Nov 9, 2009 at 10:25 AM, Chunk 1978 <chunk1...@gmail.com> wrote: >> >> humm... i'm running 10.5.8 on 2008 iMac C2D, but i never though it >> could have been the computer. would like to hear from others. > > What sound API are you using? > -Shawn _______________________________________________ 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