Interface for audio playback.
More...
#include <AUI/Audio/IAudioPlayer.h>
- Warning
- This API is experimental. Experimental APIs are likely to contain bugs, might be changed or removed in the future.
- Examples
- examples/ui/views/src/ExampleWindow.h.
> All members, including inherited
◆ loop()
bool IAudioPlayer::loop |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ onFinished()
void IAudioPlayer::onFinished |
( |
| ) |
|
◆ playbackStatus()
- Returns
- Current playback status.
◆ setLoop()
void IAudioPlayer::setLoop |
( |
bool | loop | ) |
|
◆ setVolume()
- Parameters
-
volume | Integer number from 0 to 256 inclusively, works linear |
◆ volume()
- Returns
- Current volume level.