Gorgon Game Engine
Audio.h File Reference
Include dependency graph for Audio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Device
 Represents an audio device. More...
 

Namespaces

 Gorgon
 Root namespace for Gorgon Game Engine.
 
 Gorgon::Audio
 Contains audio subsystem. For audio primitives look into multimedia namespace.
 
 Gorgon::Audio::internal
 

Functions

float GetVolume ()
 Returns the master volume. More...
 
float GetVolume (Channel channel)
 Returns the volume of a channel. More...
 
void Initialize ()
 Starts audio subsystem with the default device. More...
 
bool IsAvailable ()
 Whether the audio is available. More...
 
void SetVolume (Channel channel, float volume)
 Changes the volume of a channel. More...
 
void SetVolume (float volume)
 Changes the master volume. More...
 

Variables

std::thread audiothread
 
Device Current
 
Utils::Logger Log
 
float mastervolume
 
std::vector< float > volume