OSDN Git Service

Boost.MSMでメニュー部分を実装
[shooting3/shootinggame.git] / ShootingGame / SoundDriver.h
index b071c57..12dc044 100644 (file)
@@ -29,18 +29,8 @@ namespace sf {
     void ResetProcessBufferFunc();
     WAVEFORMATEXTENSIBLE& Format();
   private:
-    ProcessBufferType processBuffer_;
-    IAudioClient2Ptr audioClient_;
-    uint32_t bufferSize_;
-    REFERENCE_TIME latency_;
-    // IAudioClockAdjustmentPtr audioClockAdjustment_;
-    IAudioRenderClientPtr audioRenderClient_;
-    WAVEFORMATEXTENSIBLE format_;
-    sf::handle_holder eventHolder_;
-    boost::shared_array<float> buffer_[2];
-    int bufferIndex_;
-    int bufferByteCount_;
-    bool isStart_;
+         struct impl;
+    std::unique_ptr<impl> impl_;
   };
 }