mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2024-12-22 05:53:43 -05:00
add docblock to AudioEngine.currentTime
This commit is contained in:
parent
741817ad62
commit
ed0ef8e4dc
1 changed files with 4 additions and 0 deletions
|
@ -65,6 +65,10 @@ class AudioEngine {
|
|||
this.loudness = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Current time in the AudioEngine.
|
||||
* @type {number}
|
||||
*/
|
||||
get currentTime () {
|
||||
return this.audioContext.currentTime;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue