|
|
PixelBullet
0.0.1
A C++ game engine
|
The abstract interface for an audio backend. More...
#include <AudioBackend.hpp>
Public Member Functions | |
| virtual bool | Init ()=0 |
| Initializes the backend. Returns true on success. | |
| virtual void | Shutdown ()=0 |
| Shuts down the backend. | |
| virtual void | PlaySound (const std::string &filePath, bool loop=false)=0 |
The abstract interface for an audio backend.
|
pure virtual |
Initializes the backend. Returns true on success.
Implemented in PixelBullet::MiniaudioBackend.
|
pure virtual |
Plays the sound file at filePath. If loop is true the sound will restart automatically when it ends.
Implemented in PixelBullet::MiniaudioBackend.
|
pure virtual |
Shuts down the backend.
Implemented in PixelBullet::MiniaudioBackend.