(svn r19332) -Codechange: Simplify sound panning by using float data, and switch to sinusoidal algorithm to maintain output level.

This commit is contained in:
peter1138
2010-03-06 11:08:31 +00:00
parent 1eb52326cf
commit 77fe7e0a74
3 changed files with 18 additions and 15 deletions

View File

@@ -19,7 +19,7 @@ void MxMixSamples(void *buffer, uint samples);
MixerChannel *MxAllocateChannel();
void MxSetChannelRawSrc(MixerChannel *mc, int8 *mem, size_t size, uint rate, bool is16bit);
void MxSetChannelVolume(MixerChannel *mc, uint left, uint right);
void MxSetChannelVolume(MixerChannel *mc, uint volume, float pan);
void MxActivateChannel(MixerChannel*);
#endif /* MIXER_H */