OSDN Git Service

fix CMakeList.txt for windows
[moflib/moflib.git] / moflib-1.0 / moflib / moflib / mof / sound / StreamingSoundLoader.hpp
index 1ff21ba..36dc666 100644 (file)
@@ -1,31 +1,31 @@
-#pragma once\r
-#include <dsound.h>\r
-#include "mof/sound/SoundFile.hpp"\r
-#include <boost/thread.hpp>\r
-\r
-namespace mof{\r
-       class StreamingSoundLoader\r
-       {\r
-               LPDIRECTSOUNDBUFFER8 m_pBuffer;\r
-               DWORD m_bufferSize;\r
-               HANDLE* m_hEvents;\r
-               SoundFile* m_pResource;\r
-               boost::mutex m_mutex;\r
-\r
-       \r
-               //\8f\89\8aú\89»\97p\95Ï\90\94\r
-               LPDIRECTSOUNDNOTIFY8 m_pNotify;\r
-               void copyBlock(int blockID);\r
-       public:\r
-               StreamingSoundLoader(LPDIRECTSOUNDBUFFER8 m_pBuffer , LPDIRECTSOUNDNOTIFY8 pNotify , SoundFile* pResource );\r
-               StreamingSoundLoader(const StreamingSoundLoader& obj);\r
-               ~StreamingSoundLoader(void);\r
-               bool initialize( );\r
-               boost::mutex& getMutex(){return m_mutex;}\r
-               \r
-               void operator()();\r
-       \r
-       };\r
-\r
-\r
-};\r
+#pragma once
+#include <dsound.h>
+#include "mof/sound/SoundFile.hpp"
+#include <boost/thread.hpp>
+
+namespace mof{
+       class StreamingSoundLoader
+       {
+               LPDIRECTSOUNDBUFFER8 m_pBuffer;
+               DWORD m_bufferSize;
+               HANDLE* m_hEvents;
+               SoundFile* m_pResource;
+               boost::mutex m_mutex;
+
+       
+               //\8f\89\8aú\89»\97p\95Ï\90\94
+               LPDIRECTSOUNDNOTIFY8 m_pNotify;
+               void copyBlock(int blockID);
+       public:
+               StreamingSoundLoader(LPDIRECTSOUNDBUFFER8 m_pBuffer , LPDIRECTSOUNDNOTIFY8 pNotify , SoundFile* pResource );
+               StreamingSoundLoader(const StreamingSoundLoader& obj);
+               ~StreamingSoundLoader(void);
+               bool initialize( );
+               boost::mutex& getMutex(){return m_mutex;}
+               
+               void operator()();
+       
+       };
+
+
+};