00001 #ifndef OUTPUT_DS8_HPP 00002 #define OUTPUT_DS8_HPP 00003 00004 00005 #include "output_ds.hpp" 00006 00007 00008 // context 00009 class DS8OutputContext : public DSOutputContext 00010 { 00011 public: 00012 DS8OutputContext() { } 00013 00014 private: 00015 virtual REFCLSID GetCLSID() { return CLSID_DirectSound8; } 00016 virtual DWORD GetCooperativeLevel() { return DSSCL_NORMAL; } 00017 00018 // DirectSound 8 doesn't need a primary buffer 00019 virtual bool CreatePrimarySoundBuffer(IDirectSound*) { return true; } 00020 }; 00021 00022 00023 #endif