Added some more mixer doxygen docs; cleaned up Mixer API a bit, removing some very specialised methods

svn-id: r15914
This commit is contained in:
Max Horn 2004-11-27 15:58:18 +00:00
parent b78ac6a18b
commit ba74a8e7f6
11 changed files with 162 additions and 77 deletions

View file

@ -31,7 +31,7 @@ namespace Scumm {
Player_MOD::Player_MOD(ScummEngine *scumm) {
int i;
_mixer = scumm->_mixer;
_samplerate = scumm->_system->getOutputSampleRate();
_samplerate = _mixer->getOutputRate();
_mixamt = 0;
_mixpos = 0;
@ -150,7 +150,7 @@ void Player_MOD::premix_proc(void *param, int16 *buf, uint len) {
((Player_MOD *) param)->do_mix(buf, len);
}
void Player_MOD::do_mix (int16 *data, uint len) {
void Player_MOD::do_mix(int16 *data, uint len) {
int i;
int dpos = 0;
uint dlen = 0;