mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Centralize logic to detect when the DPL2 decoder should be used.
This commit is contained in:
parent
2ff646b796
commit
08787ebc4a
5 changed files with 11 additions and 4 deletions
|
@ -37,7 +37,7 @@ bool CubebStream::Init()
|
|||
if (!m_ctx)
|
||||
return false;
|
||||
|
||||
m_stereo = !SConfig::GetInstance().bDPL2Decoder || SConfig::GetInstance().bDSPHLE;
|
||||
m_stereo = !SConfig::GetInstance().ShouldUseDPL2Decoder();
|
||||
|
||||
cubeb_stream_params params;
|
||||
params.rate = m_mixer->GetSampleRate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue