#ifndef SONODEVICE_H #define SONODEVICE_H #include #include "SonoPcieDevice.h" #include "SonoConfig.h" class SonoDevice { private: quint8* _buffers[BUFFER_NUM]; public: SonoPcieDevice device; SonoDevice(); ~SonoDevice(); void init(); void startTransfer(); void stopTransfer(); int getCounter(); void setRamOffsetAddress(qint32 offset); void setTransferLength(qint32 length); void setTransferRate(float rate); void setOptions(bool performanceMode); void setMode(bool dynamicMode); void copy(int i); void show(int i); void fillRam(); }; #endif //SONODEVICE_H