CSL 5.2

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Microphone.h
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 #ifndef CSL_Microphone_H
7 #define CSL_Microphone_H
8
9 #include "CSL_Includes.h"
10
11 namespace csl {
12
13 ///
14 /// Microphone -- copies the input buffer (from the sound driver) to its output
15 ///
16
17 class Microphone : public UnitGenerator {
18 public:
19 Microphone(IO & anIO) : mIO(anIO) {};
20 ~Microphone() {};
21
22 void nextBuffer(Buffer &outputBuffer) throw (CException); ///< copy next buffer from cache
23
24 protected:
25 IO & mIO; // my IO object
26 };
27
28 }
29
30 #endif