mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r2002) Rename MxActivate to MxActivateChannel, which is more appropriate
This commit is contained in:
parent
39305c1a7c
commit
1cb9ea5c46
2
mixer.c
2
mixer.c
|
@ -139,7 +139,7 @@ void MxSetChannelVolume(MixerChannel *mc, uint left, uint right)
|
|||
}
|
||||
|
||||
|
||||
void MxActivate(MixerChannel* mc)
|
||||
void MxActivateChannel(MixerChannel* mc)
|
||||
{
|
||||
mc->active = true;
|
||||
}
|
||||
|
|
2
mixer.h
2
mixer.h
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue