00001 #ifndef INCLUDED_PORTAUDIO_ASIODEVICEADAPTER_HXX 00002 #define INCLUDED_PORTAUDIO_ASIODEVICEADAPTER_HXX 00003 00004 namespace portaudio 00005 { 00006 00007 // Forward declaration(s): 00008 class Device; 00009 00010 // Declaration(s): 00017 class AsioDeviceAdapter 00018 { 00019 public: 00020 AsioDeviceAdapter(Device &device); 00021 00022 Device &device(); 00023 00024 long minBufferSize() const; 00025 long maxBufferSize() const; 00026 long preferredBufferSize() const; 00027 long granularity() const; 00028 00029 void showControlPanel(void *systemSpecific); 00030 00031 private: 00032 Device *device_; 00033 00034 long minBufferSize_; 00035 long maxBufferSize_; 00036 long preferredBufferSize_; 00037 long granularity_; 00038 }; 00039 } 00040 00041 #endif // INCLUDED_PORTAUDIO_ASIODEVICEADAPTER_HXX