diff options
author | erihel <erihel@gmail.com> | 2013-01-14 22:55:16 +0100 |
---|---|---|
committer | erihel <erihel@gmail.com> | 2013-01-14 22:55:16 +0100 |
commit | 58f35e44ae17a8d4c55b1b19696245666d3697d3 (patch) | |
tree | 26d593e1af405939f8c8c44c605a657c15aceb6c /src/ui/maindialog.cpp | |
parent | 35faf628cf8085a9262c2b89999cacdd3f5bee79 (diff) | |
download | colobot-58f35e44ae17a8d4c55b1b19696245666d3697d3.tar.gz colobot-58f35e44ae17a8d4c55b1b19696245666d3697d3.tar.bz2 colobot-58f35e44ae17a8d4c55b1b19696245666d3697d3.zip |
* Removed alut
* Using libsndfile to load sounds and music
* Added support for playing music files
Diffstat (limited to 'src/ui/maindialog.cpp')
-rw-r--r-- | src/ui/maindialog.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp index bbba825..d19166e 100644 --- a/src/ui/maindialog.cpp +++ b/src/ui/maindialog.cpp @@ -5458,10 +5458,8 @@ void CMainDialog::ChangeSetupButtons() ps = static_cast<CSlider*>(pw->SearchControl(EVENT_INTERFACE_VOLMUSIC)); if ( ps != 0 ) { - /* - TODO: midi volume value = ps->GetVisibleValue(); - m_sound->SetMidiVolume((int)value);*/ + m_sound->SetMusicVolume(static_cast<int>(value)); } } |