Don't sample & filter EMU8000 voice if current volume is zero.
This commit is contained in:
parent
92e0b78548
commit
dbb10c0894
1 changed files with 84 additions and 81 deletions
|
|
@ -1719,6 +1719,8 @@ void emu8k_update(emu8k_t *emu8k)
|
|||
{
|
||||
int32_t dat;
|
||||
|
||||
if (emu_voice->cvcf_curr_volume)
|
||||
{
|
||||
/* Waveform oscillator */
|
||||
#ifdef RESAMPLER_LINEAR
|
||||
dat = EMU8K_READ_INTERP_LINEAR(emu8k, emu_voice->addr.int_address,
|
||||
|
|
@ -1821,6 +1823,7 @@ void emu8k_update(emu8k_t *emu8k)
|
|||
emu8k->chorus_in_buffer[pos]+=(dat*emu_voice->csl_chor_send) >> 8;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( emu_voice->env_engine_on)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue