16 #include "../G_Core/GDefines.h" 17 #include "../G_Core/GMultiThreaded.h" 34 static const GUUIID GMusicUUIID =
37 0x86c6e985, 0xbff0, 0x499f,{ 0x80, 0xe9, 0xf0, 0xee, 0x22, 0x71, 0x81, 0x3a }
This interface is only used to label and query interfaces which promise to 100% internally support th...
Definition: GMultiThreaded.h:31
virtual GReturn ResumeStream()=0
Attempts to resume a currently paused music stream.
virtual GReturn RequestInterface(const GUUIID &_interfaceID, void **_outputInterface)=0
Requests an interface that may or may not be supported by this object.
virtual GReturn GetStreamOutputChannels(unsigned int &returnedChannelNum)=0
Stores the number of specified outputs into the passed in unsigned int.
virtual GReturn SetChannelVolumes(float *_values, int _numChannels)=0
Attempts to set the output volume for the specified number of outputs to the passed in values...
Gateware Universally Unique Interface IDentifier.
Definition: GDefines.h:25
virtual GReturn GetStreamSourceChannels(unsigned int &returnedChannelNum)=0
Stores the .wav files internal amount of channels the sound was recorded with into the passed in unsi...
virtual GReturn PauseStream()=0
Attempts to pause a currently playing music stream.
virtual GReturn isStreamPlaying(bool &_returnedBool)=0
Fills out the passed in bool with information as to if the music stream is playing or not...
virtual GReturn GetCount(unsigned int &_outCount)=0
Return the total number of active references to this object.
virtual GReturn SetVolume(float _newVolume)=0
Attempts to change the overall volume.
GReturn
Listing of common error codes returned by Gateware functions.
Definition: GDefines.h:53
virtual GReturn IncrementCount()=0
Increase the total number of active references to this object.
The core namespace to which all Gateware interfaces/structures/defines must belong.
Definition: GAudio.h:20
virtual GReturn DecrementCount()=0
Decrease the total number of active references to this object.
virtual GReturn StopStream()=0
Attempts to stop playback of a music stream and reset it to begining for future use.
virtual GReturn StreamStart(bool _loop=false)=0
Attempts to start a music stream.