34 static const GUUIID GAudioUUIID =
37 0x82de61c1, 0xc47a, 0x41e5,{ 0x90, 0xbe, 0xc3, 0x16, 0x4, 0xdf, 0x11, 0x40 }
198 GATEWARE_EXPORT_IMPLICIT
GReturn CreateGAudio(
GAudio** _outAudio);
virtual GReturn CreateSound(const char *_path, GSound **_outSound)=0
Fills out a GSound with data from provided .wav file.
virtual GReturn Init(int _numOfOutputs=2)=0
Initializes all neccassary data for GAudio based on platform.
virtual GReturn CreateMusicStream(const char *_path, GMusic **_outMusic)=0
Fills out a GMusic with data from provided .wav file.
virtual GReturn SetMasterVolume(float _value)=0
Sets Master Volume for all sounds and music.
virtual GReturn SetMasterChannelVolumes(const float *_values, int _numChannels)=0
Sets Master Volume for all sounds and music for specifc speakers.
This interface is only used to label and query interfaces which promise to 100% internally support th...
Definition: GMultiThreaded.h:31
virtual GReturn RequestInterface(const GUUIID &_interfaceID, void **_outputInterface)=0
Requests an interface that may or may not be supported by this object.
virtual GReturn ResumeAll()=0
Resumes all paused/stoped sounds and music.
Gateware Universally Unique Interface IDentifier.
Definition: GDefines.h:25
virtual GReturn IncrementCount()=0
Increase the total number of active references to this object.
virtual GReturn PauseAll()=0
Sets Pauses all sounds and music.
virtual GReturn GetCount(unsigned int &_outCount)=0
Return the total number of active references to this object.
virtual GReturn DecrementCount()=0
Decrease the total number of active references to this object.
virtual GReturn StopAll()=0
Stops all paused/playing sounds and music.
The core namespace to which all Gateware interfaces/structures/defines must belong.
Definition: GAudio.h:20
GReturn
Listing of common error codes returned by Gateware functions.
Definition: GDefines.h:53