Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4985 in orxonox.OLD for orxonox/trunk/src/lib/sound/ogg_player.cc


Ignore:
Timestamp:
Aug 12, 2005, 12:55:21 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: loading some stuff from ths sound-engine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/sound/ogg_player.cc

    r4961 r4985  
    2020
    2121#include "ogg_player.h"
     22
     23#include "sound_engine.h"
    2224
    2325#include "debug.h"
     
    7577    alSourcef (source, AL_ROLLOFF_FACTOR,  0.0          );
    7678    alSourcei (source, AL_SOURCE_RELATIVE, AL_TRUE      );
     79    alSourcef (source, AL_GAIN,            SoundEngine::getInstance()->getMusicVolume());
    7780}
    7881
Note: See TracChangeset for help on using the changeset viewer.