volume control, schedule button, VBR decoder fix, reduced debug in decoder, added decoder source

This commit is contained in:
Blue 2019-02-02 01:24:09 +03:00
parent d2e3aa0880
commit 7f03a0bd75
18 changed files with 1486 additions and 12 deletions

View file

@ -116,6 +116,14 @@ var standardActions = {
id.destructor();
},
name: "Play"
},
"scheduledToPlay": {
handler: function(obj) {
var id = obj._pairAddress.back(); //todo it's a kind of crutch, need to do something about it in the future
window.scheduleToPlay(id);
id.destructor();
},
name: "Schedule"
}
};

View file

@ -258,7 +258,6 @@ var Player = Controller.inherit({
} else {
this._fsm.manipulation("pause");
this._onSeekingStart();
this._onSeek(0);
this._onSeekingEnd(0);
this.controls[ItemType.straight.playPause].activate();
}
@ -354,7 +353,7 @@ var Player = Controller.inherit({
this._ctx.suspend();
this.removeForeignController(this._audio);
this.audio.destructor();
this._audio.destructor();
this._audio = null;
this._destroyPlayingInfrastructure();
this._createPlayingInfrastructure();