Skip to content

Commit

Permalink
set isMuted to false on load method (katspaugh#1045)
Browse files Browse the repository at this point in the history
  • Loading branch information
entonbiba authored and mspae committed Aug 19, 2017
1 parent e566cf3 commit b234a61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wavesurfer.js
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,7 @@ export default class WaveSurfer extends util.Observer {
*/
load(url, peaks, preload) {
this.empty();
this.isMuted = false;

switch (this.params.backend) {
case 'WebAudio': return this.loadBuffer(url, peaks);
Expand Down

0 comments on commit b234a61

Please sign in to comment.