ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/May-Jun/soundkit-problem

This is soundkit-problem in view mode; [Up]


Date: Sun 21-Jun-1989 02:52:28 From: Unknown Subject: soundkit problem In the following program the third waitUntilStopped never returns. Am I missing some important piece of information? #import <objc/objc.h> #import <soundkit/soundkit.h> main() { int error,a,b; id mySound = [Sound new]; id copySound = [Sound new]; a = 100000; b = 50000; [mySound readSoundfile:"yy.snd"]; [copySound copySamples:mySound at:a count:b]; [copySound play]; printf("returned first %d\n",[copySound waitUntilStopped]); [copySound play]; printf("returned second %d\n",[copySound waitUntilStopped]); [copySound play]; printf("returned third %d\n",[copySound waitUntilStopped]); // ??? never returns from this final wait } >From: phd_ivo@gsbacd.uchicago.edu

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