inputdevice.h

Go to the documentation of this file.
00001 
00024 #ifndef INPUTDEVICE_H_INCLUDED_C41987DC
00025 #define INPUTDEVICE_H_INCLUDED_C41987DC
00026 
00027 #include "openalpp/export.h"
00028 #include "openalpp/stream.h"
00029 
00030 namespace openalpp {
00031 
00035 class OPENALPP_API InputDevice : public Stream {
00036   static int nobjects_;
00037 
00041   void init();
00042  public:
00046   InputDevice();
00047 
00055   InputDevice(int device,unsigned int samplerate,unsigned int buffersize=1024, 
00056               SampleFormat format=Mono16);
00057 
00061   InputDevice(const InputDevice &input);
00062 
00066   InputDevice &operator=(const InputDevice &input);
00067 
00068 protected:
00072   virtual ~InputDevice();
00073 };
00074 
00075 }
00076 
00077 #endif /* INPUTDEVICE_H_INCLUDED_C41987DC */

Generated on Sun Oct 15 08:41:42 2006 for openalpp by  doxygen 1.4.7