version 1.37, 2018/06/26 07:15:17 |
version 1.38, 2018/06/26 07:22:55 |
|
|
} |
} |
weight /= n; |
weight /= n; |
} |
} |
if (weight > i->mix.maxweight) |
if (weight > i->opt->maxweight) |
weight = i->mix.maxweight; |
weight = i->opt->maxweight; |
i->mix.weight = ADATA_MUL(weight, MIDI_TO_ADATA(d->master)); |
i->mix.weight = ADATA_MUL(weight, MIDI_TO_ADATA(d->master)); |
#ifdef DEBUG |
#ifdef DEBUG |
if (log_level >= 3) { |
if (log_level >= 3) { |
|
|
log_puts(": set weight: "); |
log_puts(": set weight: "); |
log_puti(i->mix.weight); |
log_puti(i->mix.weight); |
log_puts("/"); |
log_puts("/"); |
log_puti(i->mix.maxweight); |
log_puti(i->opt->maxweight); |
log_puts("\n"); |
log_puts("\n"); |
} |
} |
#endif |
#endif |
|
|
s->xrun = XRUN_IGNORE; |
s->xrun = XRUN_IGNORE; |
s->tstate = MMC_OFF; |
s->tstate = MMC_OFF; |
} |
} |
s->mix.maxweight = s->opt->maxweight; |
|
s->dup = s->opt->dup; |
s->dup = s->opt->dup; |
s->appbufsz = d->bufsz; |
s->appbufsz = d->bufsz; |
s->round = d->round; |
s->round = d->round; |