mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
audio::Speaker.getDuration()
This commit is contained in:
parent
f5b4976b18
commit
cea4867567
4 changed files with 31 additions and 1 deletions
|
|
@ -269,6 +269,9 @@ namespace audio {
|
|||
/// @return time position in seconds
|
||||
virtual duration_t getTime() const = 0;
|
||||
|
||||
/// @brief Get playing audio total duration
|
||||
virtual duration_t getDuration() const = 0;
|
||||
|
||||
/// @brief Set playing audio time position
|
||||
/// @param time time position in seconds
|
||||
virtual void setTime(duration_t time) = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue