Mercurial > mm7
comparison AudioPlayer.h @ 764:90bcfb56c8f9
sound cleaning
author | Gloval |
---|---|
date | Sat, 23 Mar 2013 21:39:21 +0400 |
parents | 94546824edad |
children | 9334a8c59c8d |
comparison
equal
deleted
inserted
replaced
761:f24fb0d64a5c | 764:90bcfb56c8f9 |
---|---|
150 void StopChannels(int uStartChannel, int uEndChannel); | 150 void StopChannels(int uStartChannel, int uEndChannel); |
151 void LoadAudioSnd(); | 151 void LoadAudioSnd(); |
152 void Initialize(HWND hWnd); | 152 void Initialize(HWND hWnd); |
153 LSTATUS CheckA3DSupport(char a2); | 153 LSTATUS CheckA3DSupport(char a2); |
154 void Release(); | 154 void Release(); |
155 void _4ABE55(MixerChannel *pChannel); | 155 void FreeChannel(MixerChannel *pChannel); |
156 void _4ABF23(AudioPlayer_3DSample *a2); | 156 void _4ABF23(AudioPlayer_3DSample *a2); |
157 void SetEAXPreferences(); | 157 void SetEAXPreferences(); |
158 void SetMapEAX(); | 158 void SetMapEAX(); |
159 int _4AC0A2(); | 159 int _4AC0A2(); |
160 void PlayMusicTrack(enum MusicID eTrack); | 160 void PlayMusicTrack(enum MusicID eTrack); |
254 | 254 |
255 #pragma pack(push, 1) | 255 #pragma pack(push, 1) |
256 struct SoundList | 256 struct SoundList |
257 { | 257 { |
258 inline SoundList(): | 258 inline SoundList(): |
259 uNumSounds(0), pSounds(nullptr), uTotalLoadedSoundSize(0) | 259 sNumSounds(0), pSounds(nullptr), uTotalLoadedSoundSize(0) |
260 {} | 260 {} |
261 | 261 |
262 void Initialize(); | 262 void Initialize(); |
263 __int16 LoadSound(int a1, unsigned int a3); | 263 __int16 LoadSound(int a1, unsigned int a3); |
264 int LoadSound(unsigned int a2, LPVOID lpBuffer, int uBufferSizeLeft, int *pOutSoundSize, int a6); | 264 int LoadSound(unsigned int a2, LPVOID lpBuffer, int uBufferSizeLeft, int *pOutSoundSize, int a6); |
265 SoundDesc *Release(); | 265 SoundDesc *Release(); |
266 void _4A9D79(int a2); | 266 void _4A9D79(int a2); |
267 void _4A9DCD(unsigned int uSoundID, char a3); | 267 void UnloadSound(unsigned int uSoundID, char a3); |
268 void ToFile(); | 268 void ToFile(); |
269 void *FromFile(void *pSerialized); | 269 void *FromFile(void *pSerialized); |
270 int FromFileTxt(const char *Args); | 270 int FromFileTxt(const char *Args); |
271 | 271 |
272 unsigned int uNumSounds; | 272 signed int sNumSounds; |
273 SoundDesc *pSounds; | 273 SoundDesc *pSounds; |
274 unsigned int uTotalLoadedSoundSize; | 274 unsigned int uTotalLoadedSoundSize; |
275 }; | 275 }; |
276 #pragma pack(pop) | 276 #pragma pack(pop) |
277 | 277 |