Fix music gain in MusicInformation. Use it appropriately to boost West music, and quiet down overworld music
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11775 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -93,11 +93,13 @@ MusicInformation::MusicInformation(const XMLNode *root,
|
||||
root->get("composer", &s );
|
||||
m_composer = StringUtils::decodeFromHtmlEntities(s);
|
||||
root->get("file", &m_normal_filename);
|
||||
root->get("gain", &m_adjusted_gain );
|
||||
root->get("gain", &m_gain );
|
||||
root->get("tracks", &m_all_tracks );
|
||||
root->get("fast", &m_enable_fast );
|
||||
root->get("fast-filename", &m_fast_filename );
|
||||
|
||||
m_adjusted_gain = m_gain;
|
||||
|
||||
// Get the path from the filename and add it to the ogg filename
|
||||
std::string path = StringUtils::getPath(filename);
|
||||
m_normal_filename = path + "/" + m_normal_filename;
|
||||
|
||||
Reference in New Issue
Block a user