[comp.sys.next] 0.9 sound stuff

eht@f.word.cs.cmu.edu (Eric Thayer) (05/17/89)

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