mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-16 17:45:10 +00:00
Namco WSG: noise in per-chan osc for real?
This commit is contained in:
parent
15c6ebff0a
commit
aea7a67d3e
1 changed files with 2 additions and 0 deletions
|
@ -659,11 +659,13 @@ void namco_audio_device::sound_stream_update(short** outputs, int len)
|
||||||
{
|
{
|
||||||
lmix[i]+=l_noise_data;
|
lmix[i]+=l_noise_data;
|
||||||
rmix[i]+=r_noise_data;
|
rmix[i]+=r_noise_data;
|
||||||
|
voice->last_out=(l_noise_data+r_noise_data)>>1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
lmix[i]+=-l_noise_data;
|
lmix[i]+=-l_noise_data;
|
||||||
rmix[i]+=-r_noise_data;
|
rmix[i]+=-r_noise_data;
|
||||||
|
voice->last_out=-((l_noise_data+r_noise_data)>>1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hold)
|
if (hold)
|
||||||
|
|
Loading…
Reference in a new issue