|
Turbo Engine 0.3
A C++ game engine using Allegro 5
|
Interface for playable audio (implemented by Sound and MusicStream). More...
#include <Audio.hpp>
Public Member Functions | |
| virtual void | play ()=0 |
| Start, or resume, playback. | |
| virtual void | pause ()=0 |
| Pause playback, keeping the current position. | |
| virtual void | reset ()=0 |
| Stop playback and rewind to the beginning. | |
| virtual bool | is_playing () const =0 |
| Whether the audio is currently playing. | |
Interface for playable audio (implemented by Sound and MusicStream).
|
nodiscardpure virtual |
Whether the audio is currently playing.
Implemented in turbo::MusicStream, and turbo::Sound.
|
pure virtual |
Pause playback, keeping the current position.
Implemented in turbo::MusicStream, and turbo::Sound.
|
pure virtual |
Start, or resume, playback.
Implemented in turbo::MusicStream, and turbo::Sound.
|
pure virtual |
Stop playback and rewind to the beginning.
Implemented in turbo::MusicStream, and turbo::Sound.