#ifndef _MIXER_SAMPLEDATAINTERFACE_HPP_ #define _MIXER_SAMPLEDATAINTERFACE_HPP_ #ifndef _COMMON_WINDOWS_HPP_ #include #endif template class SampleDataInterface { public: SampleDataInterface(); virtual ~SampleDataInterface(); static int getBitsPerSample(void); protected: virtual void setAt(DWORD index,T sample)=0; virtual T getAt(DWORD index)=0; private: }; template inline SampleDataInterface::SampleDataInterface() { } template inline SampleDataInterface::~SampleDataInterface() { } template inline int SampleDataInterface::getBitsPerSample(void) { return sizeof(T)*8; } #endif