OSDN Git Service

fix cmake/Macros.cmake
[moflib/moflib.git] / moflib-1.0 / src / mof / sound / SoundFile.hpp
1 #pragma once
2 #include <windows.h>
3 #include <dsound.h>
4 #include <mof/tstring.hpp>
5
6 namespace mof{
7         class SoundFile
8         {
9         public:
10                 SoundFile(void);
11                 virtual ~SoundFile(void) = 0;
12
13                 virtual bool open(const mof::tstring& filename) = 0;
14                 virtual bool close() = 0;
15                 virtual long read( BYTE* pBuffer1, long bufferSize1 , BYTE* pBuffer2 , long bufferSize2 )  = 0;
16                 virtual long getSize() = 0;
17                 virtual bool resetFile() = 0;
18                 virtual WAVEFORMATEX* getFormat() = 0;
19         };
20
21 };