Added a view from the voice to the linked region
This commit is contained in:
parent
1d7e7855eb
commit
1d4935e955
1 changed files with 6 additions and 0 deletions
|
|
@ -219,6 +219,12 @@ public:
|
|||
* @return uint32_t
|
||||
*/
|
||||
uint32_t getSourcePosition() const noexcept;
|
||||
/**
|
||||
* Returns the region that is currently playing. May be null if the voice is not active!
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
const Region* getRegion() const noexcept { return region; }
|
||||
private:
|
||||
/**
|
||||
* @brief Fill a span with data from a file source. This is the first step
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue