diff AudioPlayer.h @ 378:50875632e776

AudioPlayer::UpdateSounds (004AAFCF) take 1
author Nomad
date Fri, 22 Feb 2013 21:59:28 +0200
parents 8e23edf57e27
children d95a91011d57
line wrap: on
line diff
--- a/AudioPlayer.h	Fri Feb 22 18:40:38 2013 +0200
+++ b/AudioPlayer.h	Fri Feb 22 21:59:28 2013 +0200
@@ -56,11 +56,11 @@
 struct MixerChannel
 {
   inline MixerChannel():
-    hSample(nullptr), dword_000004(0), uSourceTrackIdx(0), uSourceTrackID(0)
+    hSample(nullptr), source_pid(0), uSourceTrackIdx(0), uSourceTrackID(0)
   {}
 
   _SAMPLE *hSample;
-  int dword_000004;
+  int source_pid;
   unsigned int uSourceTrackIdx;
   unsigned int uSourceTrackID;
 };
@@ -144,7 +144,7 @@
   void SetMasterVolume(float fVolume);
   void _4AA258(int a2);
   void PlaySound(SoundID eSoundID, signed int a3, unsigned int uNumRepeats, signed int a5, signed int a6, int a7, unsigned int uVolume, int sPlaybackRate);
-  void _4AAFCF();
+  void UpdateSounds();
   void StopChannels(int uStartChannel, int uEndChannel);
   void LoadAudioSnd();
   void Initialize(HWND hWnd);