Mercurial > mm7
comparison AudioPlayer.h @ 378:50875632e776
AudioPlayer::UpdateSounds (004AAFCF) take 1
author | Nomad |
---|---|
date | Fri, 22 Feb 2013 21:59:28 +0200 |
parents | 8e23edf57e27 |
children | d95a91011d57 |
comparison
equal
deleted
inserted
replaced
373:edd2d8b7e3c4 | 378:50875632e776 |
---|---|
54 /* 27 */ | 54 /* 27 */ |
55 #pragma pack(push, 1) | 55 #pragma pack(push, 1) |
56 struct MixerChannel | 56 struct MixerChannel |
57 { | 57 { |
58 inline MixerChannel(): | 58 inline MixerChannel(): |
59 hSample(nullptr), dword_000004(0), uSourceTrackIdx(0), uSourceTrackID(0) | 59 hSample(nullptr), source_pid(0), uSourceTrackIdx(0), uSourceTrackID(0) |
60 {} | 60 {} |
61 | 61 |
62 _SAMPLE *hSample; | 62 _SAMPLE *hSample; |
63 int dword_000004; | 63 int source_pid; |
64 unsigned int uSourceTrackIdx; | 64 unsigned int uSourceTrackIdx; |
65 unsigned int uSourceTrackID; | 65 unsigned int uSourceTrackID; |
66 }; | 66 }; |
67 #pragma pack(pop) | 67 #pragma pack(pop) |
68 | 68 |
142 | 142 |
143 void SetMusicVolume(int vol); | 143 void SetMusicVolume(int vol); |
144 void SetMasterVolume(float fVolume); | 144 void SetMasterVolume(float fVolume); |
145 void _4AA258(int a2); | 145 void _4AA258(int a2); |
146 void PlaySound(SoundID eSoundID, signed int a3, unsigned int uNumRepeats, signed int a5, signed int a6, int a7, unsigned int uVolume, int sPlaybackRate); | 146 void PlaySound(SoundID eSoundID, signed int a3, unsigned int uNumRepeats, signed int a5, signed int a6, int a7, unsigned int uVolume, int sPlaybackRate); |
147 void _4AAFCF(); | 147 void UpdateSounds(); |
148 void StopChannels(int uStartChannel, int uEndChannel); | 148 void StopChannels(int uStartChannel, int uEndChannel); |
149 void LoadAudioSnd(); | 149 void LoadAudioSnd(); |
150 void Initialize(HWND hWnd); | 150 void Initialize(HWND hWnd); |
151 LSTATUS CheckA3DSupport(char a2); | 151 LSTATUS CheckA3DSupport(char a2); |
152 void Release(); | 152 void Release(); |