Subversion Repositories eduke32

Compare Revisions

Ignore whitespace Rev 6178 → Rev 6179

/source/libxmp-lite/src/mixer.c
523,7 → 523,7
 
if (mix_fn != NULL) {
mix_fn(vi, buf_pos, samples,
vol_l >> 8, vol_r >> 8, (int) step * (1 << SMIX_SHIFT), rsize, delta_l, delta_r);
vol_l >> 8, vol_r >> 8, (int) (step * (1 << SMIX_SHIFT)), rsize, delta_l, delta_r);
}
 
buf_pos += mix_size;
/source/libxmp-lite/src/player.c
925,12 → 925,12
 
/* For xmp_get_frame_info() */
xc->info_pitchbend = linear_bend >> 7;
xc->info_period = (int) period * 4096;
xc->info_period = (int) (period * 4096);
 
if (IS_PERIOD_MODRNG()) {
CLAMP(xc->info_period,
(int) libxmp_note_to_period(ctx, MAX_NOTE_MOD, xc->finetune, 0) * 4096,
(int) libxmp_note_to_period(ctx, MIN_NOTE_MOD, xc->finetune, 0) * 4096);
(int) (libxmp_note_to_period(ctx, MAX_NOTE_MOD, xc->finetune, 0) * 4096),
(int) (libxmp_note_to_period(ctx, MIN_NOTE_MOD, xc->finetune, 0) * 4096));
} else if (xc->info_period < (1 << 12)) {
xc->info_period = (1 << 12);
}
1847,7 → 1847,7
info->speed = p->speed;
info->bpm = p->bpm;
info->total_time = p->scan[p->sequence].time;
info->frame_time = (int) p->frame_time * 1000;
info->frame_time = (int) (p->frame_time * 1000);
info->time = (int) p->current_time;
info->buffer = s->buffer;