6 #ifndef _INC_cSoundManager_H
7 #define _INC_cSoundManager_H
36 cTimeSys m_tLastUpdate;
43 cDirectShowFile m_Obj;
49 bool IsPlaying(
cStringF sFile )
const;
50 void SegueTo(
cStringF sFile,
float fSegueTime );
51 void SetPlayList(
cVariant& vPlayList,
float fSegueTime );
55 void AdvancePlayList();
59 :
public cDirectSoundMgr
65 friend class cSoundManageList;
66 typedef cDirectSoundMgr SUPER_t;
70 cDirectShowFile m_Speech;
73 cSoundManageList m_Music;
76 cSoundManageList m_AmbientSound;
82 bool m_bVolMuteAmbient;
85 cArraySortName<cSoundDef> m_aSoundDefs;
103 cSoundDefPtr LoadSoundDef(
const FILECHAR_t* pszFileName );
108 void put_VolMuteAll(
bool bVolMuteAll )
110 m_bVolMuteAll = bVolMuteAll;
111 m_AmbientSound.m_Obj.Stop();
112 m_Music.m_Obj.Stop();
#define GRAY3D_LINK
Definition: Gray3D.h:15
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
UINT WINMSG_t
Supplement _WIN32 "windows.h".
Definition: WinTypes.h:111
#define UNITTEST_FRIEND(n)
Define this in the class body to be unit tested. Allow the unit test to access private/protected stuf...
Definition: cUnitTestDecl.h:17
Definition: Gray3D.cpp:12
float SOUND_POWER_t
Power of the sound. This roughly corresponds to hearing distance, but THIS IS NOT CUT-OFF DISTANCE.
Definition: cDirectSound.h:26
class __DECL_IMPORT cMatrix4x4f
Definition: cVector.h:22
WORD SOUND_VOL_t
Mono Attenuation of the audio. linear perception 0 to k_VOL_MAX(0xffff). NOT decibels.
Definition: cSoundBase.h:29
class __DECL_IMPORT cVariant
Definition: cJSONWriter.h:19
cStringT< FILECHAR_t > cStringF
A file name. checks USE_UNICODE_FN. related to cFilePath.
Definition: cFilePath.h:17
char FILECHAR_t
a UTF8 char in a file name. like TCHAR
Definition: FileName.h:22
UINT32 TIMESYS_t
TIMESYS_t = The normal system tick timer. milli-seconds since start of system/app ?
Definition: cTimeSys.h:27
static const SOUND_VOL_t k_VOL_MAX
mono linear max perceived volume from waveOutGetVolume() M$ docs. NOT decibels which is logarithmic w...
Definition: cSoundBase.h:49