ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/May-Jun/need-some-sound-advice

This is need-some-sound-advice in view mode; [Up]


Date: Sun 18-May-1989 03:09:39 From: Unknown Subject: need some sound advice So can *you* figure out what the following program play any sound in /NextLibrary/Sounds exactly 3 times? #import <soundkit/Sound.h> main (argc, argv) char *argv[]; { id sound = [Sound newFromSoundfile:argv[1]]; while (1) { [sound play]; [sound waitUntilStopped]; } } >From: carlson@aftac.tis.llnl.gov (John Carlson)
Date: Sun 19-May-1989 07:00:55 From: Unknown Subject: Re: need some sound advice In article <2016@amelia.nas.nasa.gov> Eric Raible writes: >So can *you* figure out why the following program plays any sound in >/NextLibrary/Sounds exactly 3 times? > [program deleted] Bug in the sound library. Your program should of course play the sound over and over. Try setting a delegate for the sound object and have the delegate's that does play more than 3 times. It won't be continuous, however; there will be a small (but audible) break in between. For a beep or ping type sound, this shouldn't be a problem. Ali Ozer, NeXT Developer Support aozer@NeXT.com >From: scott@sage.uchicago.edu (Scott Deerwester)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.