mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
Merge branch 'master' of https://github.com/mamedev/mame
This commit is contained in:
commit
e7480193ba
@ -401,7 +401,7 @@ double speaker_sound_device::get_filtered_volume()
|
||||
{
|
||||
if (i >= FILTER_LENGTH) i = 0;
|
||||
filtered_volume += m_composed_volume[i] * m_ampl[c];
|
||||
ampsum += m_ampl[c];
|
||||
ampsum += std::abs(m_ampl[c]);
|
||||
}
|
||||
filtered_volume /= ampsum;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user