Changeset - r1498:367403f05f1e
[Not reviewed]
master
0 3 0
tron - 19 years ago 2005-03-12 09:46:07
tron@openttd.org
(svn r2002) Rename MxActivate to MxActivateChannel, which is more appropriate
3 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
mixer.c
Show inline comments
 
@@ -139,7 +139,7 @@ void MxSetChannelVolume(MixerChannel *mc
 
}
 

	
 

	
 
void MxActivate(MixerChannel* mc)
 
void MxActivateChannel(MixerChannel* mc)
 
{
 
	mc->active = true;
 
}
mixer.h
Show inline comments
 
@@ -19,6 +19,6 @@ void MxMixSamples(Mixer *mx, void *buffe
 
MixerChannel *MxAllocateChannel(Mixer *mx);
 
void MxSetChannelRawSrc(MixerChannel *mc, int8 *mem, uint size, uint rate, uint flags);
 
void MxSetChannelVolume(MixerChannel *mc, uint left, uint right);
 
void MxActivate(MixerChannel*);
 
void MxActivateChannel(MixerChannel*);
 

	
 
#endif
sound.c
Show inline comments
 
@@ -124,7 +124,7 @@ static void StartSound(uint sound, uint 
 
			return;
 
		if (SetBankSource(mc, sound)) {
 
			MxSetChannelVolume(mc, volume << 8, volume << 8);
 
			MxActivate(mc);
 
			MxActivateChannel(mc);
 
		}
 
	}
 
}
0 comments (0 inline, 0 general)