New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cleanup ui sound system #7684
cleanup ui sound system #7684
Conversation
@Montellese Can you review please? |
1195eeb
to
985c245
Compare
jenkins build this please |
@@ -53,6 +53,10 @@ void CGUIAudioManager::OnSettingChanged(const CSetting *setting) | |||
const std::string &settingId = setting->GetId(); | |||
if (settingId == CSettings::SETTING_LOOKANDFEEL_SOUNDSKIN) | |||
{ | |||
//Migrate "OFF" setting | |||
if (((CSettingString*)setting)->GetValue() == "OFF") |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Looks ok apart from the minors. |
985c245
to
e44afd6
Compare
done, thanks |
@@ -53,6 +53,7 @@ void CGUIAudioManager::OnSettingChanged(const CSetting *setting) | |||
const std::string &settingId = setting->GetId(); | |||
if (settingId == CSettings::SETTING_LOOKANDFEEL_SOUNDSKIN) | |||
{ | |||
|
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
One last minor left. |
remove loading from load sounds from skin dir, system/sounds, user/sounds and support directory based themes to unify it with skins, langauges etc.
e44afd6
to
9f5d962
Compare
jenkins build this please |
@Montellese, this one should be good to go now, right? |
Yes my comments have been addressed. |
jenkins build this please |
cleanup ui sound system
Cleans up old stuff after the move to addons. It is now purely addon based. The purpose of this is simplify the code, and UI-wise make it behave the same as skins and other with a "Get more" button and the same setting select dialog.
To be clear, this removes the ability to load themes from the 'sounds' directory (in system and home), and for skins to include sounds (they should be provided as a separate addon).