00001 #ifndef OUTPUT_DS3_HPP
00002 #define OUTPUT_DS3_HPP
00003
00004
00005 #include "output_ds.hpp"
00006
00007
00008 class DS3OutputStream;
00009
00010
00011 class DS3OutputContext : public DSOutputContext
00012 {
00013 public:
00014 DS3OutputContext();
00015 ~DS3OutputContext();
00016
00017 private:
00018 virtual REFCLSID GetCLSID() { return CLSID_DirectSound; };
00019
00020
00021 virtual DWORD GetCooperativeLevel() { return DSSCL_PRIORITY; }
00022
00023 virtual bool CreatePrimarySoundBuffer(IDirectSound* ds);
00024
00025 private:
00026 IDirectSoundBuffer* m_PrimaryBuffer;
00027 };
00028
00029
00030 #endif