Mercurial > mm7
diff AudioPlayer.h @ 764:90bcfb56c8f9
sound cleaning
author | Gloval |
---|---|
date | Sat, 23 Mar 2013 21:39:21 +0400 |
parents | 94546824edad |
children | 9334a8c59c8d |
line wrap: on
line diff
--- a/AudioPlayer.h Sat Mar 23 17:07:08 2013 +0400 +++ b/AudioPlayer.h Sat Mar 23 21:39:21 2013 +0400 @@ -152,7 +152,7 @@ void Initialize(HWND hWnd); LSTATUS CheckA3DSupport(char a2); void Release(); - void _4ABE55(MixerChannel *pChannel); + void FreeChannel(MixerChannel *pChannel); void _4ABF23(AudioPlayer_3DSample *a2); void SetEAXPreferences(); void SetMapEAX(); @@ -256,7 +256,7 @@ struct SoundList { inline SoundList(): - uNumSounds(0), pSounds(nullptr), uTotalLoadedSoundSize(0) + sNumSounds(0), pSounds(nullptr), uTotalLoadedSoundSize(0) {} void Initialize(); @@ -264,12 +264,12 @@ int LoadSound(unsigned int a2, LPVOID lpBuffer, int uBufferSizeLeft, int *pOutSoundSize, int a6); SoundDesc *Release(); void _4A9D79(int a2); - void _4A9DCD(unsigned int uSoundID, char a3); + void UnloadSound(unsigned int uSoundID, char a3); void ToFile(); void *FromFile(void *pSerialized); int FromFileTxt(const char *Args); - unsigned int uNumSounds; + signed int sNumSounds; SoundDesc *pSounds; unsigned int uTotalLoadedSoundSize; };