mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2025-01-08 13:51:58 -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;
|
this.loudness = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Current time in the AudioEngine.
|
||||||
|
* @type {number}
|
||||||
|
*/
|
||||||
get currentTime () {
|
get currentTime () {
|
||||||
return this.audioContext.currentTime;
|
return this.audioContext.currentTime;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue