Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!rochester!pt.cs.cmu.edu!f.word.cs.cmu.edu!eht From: eht@f.word.cs.cmu.edu (Eric Thayer) Newsgroups: comp.sys.next Subject: 0.9 sound stuff Message-ID: <5007@pt.cs.cmu.edu> Date: 17 May 89 03:37:26 GMT Reply-To: eht@f.word.cs.cmu.edu (Eric Thayer) Organization: Carnegie-Mellon University, CS/RI Lines: 21 Keywords: I'm interested in implementing a loop like: for (;;) { GetCODECData(buf, samples_per_frame); if (NotSilence(buf, samples_per_frame)) GetSilenceTerminatedSamples(buf, samples_per_frame, max_samp); } If one SNDStartRecording() preempts another, is the CODEC stopped and restarted or does the CODEC continue to run and its data stream simply rerouted to the overriding SNDStartRecording()? If the CODEC is stopped and restarted, does this mean that some samples could be lost? ...eric -- Eric H. Thayer Carnegie Mellon School of Computer Science (412) 268-{8724,6973} 5000 Forbes Ave, Pittsburgh, PA 15213 --