Rename unpause to resume

This commit is contained in:
Amish Shah
2017-10-26 16:47:59 +01:00
parent c8a75e4c29
commit 116b4c3788

View File

@@ -81,7 +81,7 @@ class StreamDispatcher extends Writable {
/**
* Resumes playback
*/
unpause() {
resume() {
this.pausedTime += Date.now() - this.pausedSince;
this.pausedSince = null;
if (this._writeCallback) this._writeCallback();