mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-03 16:16:05 +00:00
AudioCommon: Remove lock on Pause state
We had to lock audiocommon with the old asynchron HLE audio emulation, now our Mixer is just a plain FIFO which may underrun. Of course, this will stutter, but underruning the audio backend is likely worse.
This commit is contained in:
parent
6ff3fcee59
commit
9a96e3c416
5 changed files with 0 additions and 27 deletions
|
@ -108,8 +108,6 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
std::mutex& MixerCritical() { return m_csMixing; }
|
||||
|
||||
float GetCurrentSpeed() const { return m_speed.load(); }
|
||||
void UpdateSpeed(float val) { m_speed.store(val); }
|
||||
|
||||
|
@ -155,7 +153,5 @@ protected:
|
|||
bool m_log_dtk_audio;
|
||||
bool m_log_dsp_audio;
|
||||
|
||||
std::mutex m_csMixing;
|
||||
|
||||
std::atomic<float> m_speed; // Current rate of the emulation (1.0 = 100% speed)
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue