mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 10:39:45 -06:00
Merge pull request #5241 from MerryMage/stretch
Pitch-Preserving Audio Stretching
This commit is contained in:
@ -249,6 +249,8 @@ void SConfig::SaveCoreSettings(IniFile& ini)
|
||||
core->Set("OverrideGCLang", bOverrideGCLanguage);
|
||||
core->Set("DPL2Decoder", bDPL2Decoder);
|
||||
core->Set("Latency", iLatency);
|
||||
core->Set("AudioStretch", m_audio_stretch);
|
||||
core->Set("AudioStretchMaxLatency", m_audio_stretch_max_latency);
|
||||
core->Set("MemcardAPath", m_strMemoryCardA);
|
||||
core->Set("MemcardBPath", m_strMemoryCardB);
|
||||
core->Set("AgpCartAPath", m_strGbaCartA);
|
||||
@ -567,6 +569,8 @@ void SConfig::LoadCoreSettings(IniFile& ini)
|
||||
core->Get("OverrideGCLang", &bOverrideGCLanguage, false);
|
||||
core->Get("DPL2Decoder", &bDPL2Decoder, false);
|
||||
core->Get("Latency", &iLatency, 2);
|
||||
core->Get("AudioStretch", &m_audio_stretch, false);
|
||||
core->Get("AudioStretchMaxLatency", &m_audio_stretch_max_latency, 80);
|
||||
core->Get("MemcardAPath", &m_strMemoryCardA);
|
||||
core->Get("MemcardBPath", &m_strMemoryCardB);
|
||||
core->Get("AgpCartAPath", &m_strGbaCartA);
|
||||
@ -827,6 +831,8 @@ void SConfig::LoadDefaults()
|
||||
bWii = false;
|
||||
bDPL2Decoder = false;
|
||||
iLatency = 14;
|
||||
m_audio_stretch = false;
|
||||
m_audio_stretch_max_latency = 80;
|
||||
|
||||
iPosX = INT_MIN;
|
||||
iPosY = INT_MIN;
|
||||
|
@ -110,6 +110,8 @@ struct SConfig : NonCopyable
|
||||
|
||||
bool bDPL2Decoder = false;
|
||||
int iLatency = 14;
|
||||
bool m_audio_stretch = false;
|
||||
int m_audio_stretch_max_latency = 80;
|
||||
|
||||
bool bRunCompareServer = false;
|
||||
bool bRunCompareClient = false;
|
||||
|
Reference in New Issue
Block a user