Re: Playing sound effect in thread
Re: Playing sound effect in thread
- Subject: Re: Playing sound effect in thread
- From: Brian Christensen <email@hidden>
- Date: Fri, 30 Jan 2004 16:32:18 -0500
On Jan 30, 2004, at 6:10 AM, Rick Anderson wrote:
Anyone know why this wouldn't work smoothly? Maybe some tips on any
possible way to optimize this. It seems pretty simple so I'm not sure
what I could do more efficiently to make it work better.
Have you tried using QuickTime instead?
- (void)playSound
{
NSMovie *movie;
movie = [[NSMovie alloc] initWithURL:yourSoundURL] byReference:NO];
StartMovie( [movie QTMovie] );
}
/brian
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.