|
11 | 11 |
|
12 | 12 | bool CSACDSettings::Load() |
13 | 13 | { |
14 | | - m_volumeAdjust = kodi::GetSettingFloat("volume-adjust", 0.0f); |
15 | | - m_lfeAdjust = pow(10.0f, kodi::GetSettingFloat("lfe-adjust", 0.0f) / 20.0f); |
16 | | - m_samplerate = kodi::GetSettingInt("samplerate", 352800); |
17 | | - m_dsd2pcmMode = kodi::GetSettingInt("dsd2pcm-mode", 0); |
18 | | - m_dsd2pcmFirFile = kodi::GetSettingString("firconverter", ""); |
19 | | - m_speakerArea = kodi::GetSettingInt("area", 0); |
20 | | - m_separateMultichannel = kodi::GetSettingBoolean("separate-multichannel", false); |
21 | | - m_separateMultichannel = kodi::GetSettingBoolean("area-allow-fallback", true); |
| 14 | + m_volumeAdjust = kodi::addon::GetSettingFloat("volume-adjust", 0.0f); |
| 15 | + m_lfeAdjust = pow(10.0f, kodi::addon::GetSettingFloat("lfe-adjust", 0.0f) / 20.0f); |
| 16 | + m_samplerate = kodi::addon::GetSettingInt("samplerate", 352800); |
| 17 | + m_dsd2pcmMode = kodi::addon::GetSettingInt("dsd2pcm-mode", 0); |
| 18 | + m_dsd2pcmFirFile = kodi::addon::GetSettingString("firconverter", ""); |
| 19 | + m_speakerArea = kodi::addon::GetSettingInt("area", 0); |
| 20 | + m_separateMultichannel = kodi::addon::GetSettingBoolean("separate-multichannel", false); |
| 21 | + m_separateMultichannel = kodi::addon::GetSettingBoolean("area-allow-fallback", true); |
22 | 22 |
|
23 | 23 | return true; |
24 | 24 | } |
25 | 25 |
|
26 | 26 | bool CSACDSettings::SetSetting(const std::string& settingName, |
27 | | - const kodi::CSettingValue& settingValue) |
| 27 | + const kodi::addon::CSettingValue& settingValue) |
28 | 28 | { |
29 | 29 | if (settingName == "volume-adjust") |
30 | 30 | { |
|
0 commit comments