Re: PlaySound
Re: PlaySound
- Subject: Re: PlaySound
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 8 Apr 2003 19:39:22 -0700
On Tuesday, April 8, 2003, at 06:31 AM, Lorenzo wrote:
glassSound = [NSSound soundNamed:@"Glass"];
for(i = 0; i < guess; i++){
[glassSound play];
Delay(30, &junk);
}
What about:
for (i = 0 ; i < guess ; i++)
{
[glassSound play];
while ([glassSound isPlaying])
sleep(1);
}
Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page:
http://dreamless.home.attbi.com/
"Building the future and keeping the past alive are one and the same
thing." - Metal Gear Solid 2
_______________________________________________
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.
References: | |
| >PlaySound (From: Lorenzo <email@hidden>) |