Returning value from getCurrentTime in seek property getter

This commit is contained in:
Pavle Goloskokovic 2017-12-05 19:44:37 +01:00
parent a27f32b3a3
commit aa503131a4

View file

@ -265,6 +265,7 @@ Object.defineProperty(WebAudioSound.prototype, 'detune', {
*/
Object.defineProperty(WebAudioSound.prototype, 'seek', {
get: function () {
return this.getCurrentTime();
},
set: function (value) {
}