mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-01 10:32:40 +00:00
SAA1099: disable high-pass filter
unnecessary and is the possible cause of issue #1849
This commit is contained in:
parent
ea9c483510
commit
c82ef90849
2 changed files with 3 additions and 5 deletions
6
extern/SAASound/src/SAAConfig.cpp
vendored
6
extern/SAASound/src/SAAConfig.cpp
vendored
|
@ -20,7 +20,7 @@ m_bGenerateRegisterLogs(false),
|
|||
m_bGeneratePcmLogs(false),
|
||||
m_bGeneratePcmSeparateChannels(false),
|
||||
m_nBoost(DEFAULT_BOOST),
|
||||
m_bHighpass(true),
|
||||
m_bHighpass(false),
|
||||
m_nOversample(DEFAULT_OVERSAMPLE),
|
||||
m_minIni(_T(CONFIG_FILE_PATH))
|
||||
{
|
||||
|
@ -74,7 +74,7 @@ void SAAConfig::ReadConfig()
|
|||
m_bGeneratePcmSeparateChannels = m_minIni.getbool(u8"Debug", u8"PCMSeparateChannels", false);
|
||||
}
|
||||
|
||||
m_bHighpass = m_minIni.getbool(u8"Quality", u8"Highpass", true);
|
||||
m_bHighpass = m_minIni.getbool(u8"Quality", u8"Highpass", false);
|
||||
|
||||
m_nOversample = m_minIni.geti(u8"Quality", u8"Oversample", DEFAULT_OVERSAMPLE);
|
||||
if (m_nOversample < 1)
|
||||
|
@ -110,4 +110,4 @@ t_string SAAConfig::getChannelPcmOutputPath(int i)
|
|||
return filename;
|
||||
}
|
||||
|
||||
#endif // USE_CONFIG_FILE
|
||||
#endif // USE_CONFIG_FILE
|
||||
|
|
2
extern/SAASound/src/SAAImpl.cpp
vendored
2
extern/SAASound/src/SAAImpl.cpp
vendored
|
@ -187,8 +187,6 @@ void CSAASoundInternal::SetSoundParameters(SAAPARAM uParam)
|
|||
|
||||
// set filter properties from uParam
|
||||
m_uParam = (m_uParam & ~SAAP_MASK_FILTER) | (uParam & SAAP_MASK_FILTER);
|
||||
|
||||
m_bHighpass=true;
|
||||
}
|
||||
|
||||
void CSAASoundInternal::SetSampleRate(unsigned int nSampleRate)
|
||||
|
|
Loading…
Reference in a new issue