1 #ifndef __UIDIRECTSOUNDSOUNDCANVAS_H__
2 #define __UIDIRECTSOUNDSOUNDCANVAS_H__
5 #include "UISoundCanvas.h"
7 #define DIRECTSOUND_VERSION 0x800
13 typedef std::map
<const char *, LPDIRECTSOUNDBUFFER
> UINamedSoundMap
;
15 class UIDirectSoundSoundCanvas
: public UISoundCanvas
19 UIDirectSoundSoundCanvas( void );
20 virtual ~UIDirectSoundSoundCanvas( void );
22 virtual void Play( const char * );
26 LPDIRECTSOUND mPlaybackDevice
;
27 UINamedSoundMap mSoundMap
;
30 #endif // __UIDIRECTSOUNDSOUNDCANVAS_H__