Wizard Engine
2D cross-platform game engine built around SDL2
 
Loading...
Searching...
No Matches
audio.hpp File Reference

Subsystem to handle global audio. More...

Go to the source code of this file.

Classes

class  wze::audio
 

Namespaces

namespace  wze
 Wizard Engine.
 

Detailed Description

Subsystem to handle global audio.

Stops the audio globally.

Resumes the audio globally.

Pauses the audio globally.

Returns the remaining unexpired speakers.

Sets the global volume of the audio.

Returns the global volume of the audio.

Deleted default constructor to prevent instantiation.

Author
Zana Domán
Zana Domán
Returns
Global volume of the audio.
Author
Zana Domán
Parameters
volumeGlobal Volume of the audio.
Author
Zana Domán
Returns
Remaining unexpired speakers.
Author
Zana Domán
Warning
If the audio cannot be stopped globally, throws wze::exception.

Definition in file audio.hpp.