C:/Documents and Settings/Alessandro/Documenti/Programmazione/CodeBlocks/AudioDrome/include/AudioDrome/AudioIn.h

00001 /***************************************************/
00013 /***************************************************/
00014 
00015 #ifndef AUDIOIN_H
00016 #define AUDIOIN_H
00017 
00018 #include "AudioOut.h"
00019 
00020 class AudioIn : public AudioOut
00021 {
00022 public:
00024     AudioIn(const float &sr=44100);
00025 
00027     virtual ~AudioIn();
00028 
00030     void selectDevice (const PaDeviceIndex &devIndx=-1);
00031 
00033     void startStream ();
00034 
00036 
00040     void getSignal (float &inLeft=0, float &inRrigth=0);
00041 
00043 //    float readLeft ();
00044 
00046 //    float readRigth ();
00047 
00049 
00058     AudioIn& operator>> (float &sample);
00059 
00061 
00066     AudioIn& operator() (const bool &channel);
00067 
00068 private:
00069     PaStreamParameters _inputParameters;
00070 };
00071 #endif

Generato il Tue Dec 26 14:42:31 2006 per AudioDrome da  doxygen 1.4.7