(svn r2002) Rename MxActivate to MxActivateChannel, which is more appropriate

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
tron 20 years ago
parent 39305c1a7c
commit 1cb9ea5c46

@ -139,7 +139,7 @@ void MxSetChannelVolume(MixerChannel *mc, uint left, uint right)
}
void MxActivate(MixerChannel* mc)
void MxActivateChannel(MixerChannel* mc)
{
mc->active = true;
}

@ -19,6 +19,6 @@ void MxMixSamples(Mixer *mx, void *buffer, uint samples);
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

@ -124,7 +124,7 @@ static void StartSound(uint sound, uint panning, uint volume)
return;
if (SetBankSource(mc, sound)) {
MxSetChannelVolume(mc, volume << 8, volume << 8);
MxActivate(mc);
MxActivateChannel(mc);
}
}
}

Loading…
Cancel
Save