• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: PlaySound
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Re: HowTo: server
  • Next by Date: Re: HowTo: server
  • Previous by thread: PlaySound
  • Next by thread: Re: PlaySound
  • Index(es):
    • Date
    • Thread