Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!ames!amelia!orville.nas.nasa.gov!raible From: raible@orville.nas.nasa.gov (Eric Raible) Newsgroups: comp.sys.next Subject: need some sound advice Message-ID: <2016@amelia.nas.nasa.gov> Date: 18 May 89 03:09:39 GMT Sender: news@amelia.nas.nasa.gov Reply-To: raible@orville.nas.nasa.gov (Eric Raible) Organization: NASA Ames Research Center, Moffett Field, CA Lines: 18 So can *you* figure out what the following program play any sound in /NextLibrary/Sounds exactly 3 times? #import main (argc, argv) char *argv[]; { id sound = [Sound newFromSoundfile:argv[1]]; while (1) { [sound play]; [sound waitUntilStopped]; } }