|
|
PixelBullet
0.0.1
A C++ game engine
|
#include <Audio.hpp>
Public Member Functions | |
| Audio (const Audio &)=delete | |
| Audio & | operator= (const Audio &)=delete |
| void | PlaySound (const VirtualPath &filePath, bool loop=false) |
| Play a sound given its file path. If loop is true the sound will restart endlessly. | |
A high-level audio system. It initializes an audio backend and runs a dedicated thread to process audio commands (e.g. playing sounds, optionally with looping).
| void PixelBullet::Audio::PlaySound | ( | const VirtualPath & | filePath, |
| bool | loop = false ) |
Play a sound given its file path. If loop is true the sound will restart endlessly.