mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Audio Mixer: move Static variable to a member variable.
The two instances of this class were sharing a frac variable causing audio glitches when both were running (which is now all the time). Fixes issue 7463 (Since DTK merge, audio has staic in it).
This commit is contained in:
@ -91,6 +91,7 @@ protected:
|
||||
, m_LVolume(256)
|
||||
, m_RVolume(256)
|
||||
, m_numLeftI(0.0f)
|
||||
, m_frac(0)
|
||||
{
|
||||
memset(m_buffer, 0, sizeof(m_buffer));
|
||||
}
|
||||
@ -107,6 +108,7 @@ protected:
|
||||
volatile s32 m_LVolume;
|
||||
volatile s32 m_RVolume;
|
||||
float m_numLeftI;
|
||||
u32 m_frac;
|
||||
};
|
||||
MixerFifo m_dma_mixer;
|
||||
MixerFifo m_streaming_mixer;
|
||||
|
Reference in New Issue
Block a user