Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 30, 2009, 11:50:17 PM (15 years ago)
Author:
dafrick
Message:

Some cleanup in SoundManager and related classes. Overrall volume works now. Mute function has been implemented into the gui.
Once again you'll have to delete your orxonox.ini file to be trouble free.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/data/gui/scripts/NewAudioMenu.lua

    r6150 r6186  
    2323
    2424function P.AudioMuteMusicCheckbox_clicked(e)
    25     -- mute music
     25    soundMgr = orxonox.SoundManager:getInstance()
     26    soundMgr:toggleMute(orxonox.SoundType.ambient)
    2627    debug("event: mute music")
    2728end
    2829
    2930function P.AudioMuteSoundCheckbox_clicked(e)
    30     -- mute sound
     31    soundMgr = orxonox.SoundManager:getInstance()
     32    soundMgr:toggleMute(orxonox.SoundType.none)
    3133    debug("event: mute sound")
    3234end
Note: See TracChangeset for help on using the changeset viewer.