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

00001 /***************************************************/
00013 /***************************************************/
00014 
00015 #ifndef AUDIOOUT_H
00016 #define AUDIOOUT_H
00017 
00018 #include "AudioIO.h"
00019 #include <Oscillator.h>
00020 
00021 class AudioOut : public AudioIO
00022 {
00023 public:
00025     AudioOut(const float &sr=44100);
00026 
00028     virtual ~AudioOut();
00029 
00031     void selectDevice (const PaDeviceIndex &devIndx=-1);
00032 
00034     void startStream ();
00035 
00037 
00041     void putSignal (const float &outLeft=0,const float &outRigth=0);
00042 
00044 
00053     AudioOut& operator<< (const float &sample);
00054 
00056 
00061     AudioOut& operator() (const int &channel);
00062 
00063     int CallBack( const void *inputBuffer,
00064                          void *outputBuffer,
00065                          unsigned long framesPerBuffer,
00066                          const PaStreamCallbackTimeInfo* timeInfo,
00067                          PaStreamCallbackFlags statusFlags,
00068                          void *userData );
00069 private:
00070     PaStreamParameters _outputParameters;
00071     void* _userData;
00072 //    PaStreamCallback* _userCallBack;
00073 //    float _sample;
00074 //    static float _LEFT;
00075 };
00076 
00077 #endif
00079 

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