CSL  6.0
Microphone.cpp
Go to the documentation of this file.
1 ///
2 /// Microphone.h -- CSL class that copies the input buffer (from the sound driver) to its output
3 /// See the copyright notice and acknowledgment of authors in the file COPYRIGHT
4 ///
5 
6 #include "Microphone.h"
7 
8 using namespace csl;
9 
10 void Microphone :: nextBuffer(Buffer &outputBuffer) throw(CException) {
11 
12  outputBuffer.copySamplesFrom(mIO.getInput());
13 
14 }
AdditiveInstrument.h – Sum-of-sines synthesis instrument class.
Definition: Accessor.h:17
void nextBuffer(Buffer &outputBuffer)
copy next buffer from cache
Definition: Microphone.cpp:10
Buffer – the multi-channel sample buffer class (passed around between generators and IO guys)...
Definition: CSL_Core.h:106
Base class of CSL exceptions (written upper-case). Has a string message.