Skip to content

Commit

Permalink
added getMute method, (#980)
Browse files Browse the repository at this point in the history
  • Loading branch information
entonbiba authored and katspaugh committed Feb 10, 2017
1 parent 401caac commit 02b8a7d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/wavesurfer.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,13 @@ var WaveSurfer = {
}
},

/**
* Get the current mute status.
*/
getMute: function () {
return this.isMuted;
},

toggleScroll: function () {
this.params.scrollParent = !this.params.scrollParent;
this.drawBuffer();
Expand Down

2 comments on commit 02b8a7d

@thijstriemstra
Copy link
Contributor

@thijstriemstra thijstriemstra commented on 02b8a7d Feb 11, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@entonbiba can you also add an entry in the changelog for these PRs (from now on)?

@entonbiba
Copy link
Contributor Author

@entonbiba entonbiba commented on 02b8a7d Feb 11, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thijstriemstra sure, updated changelog and version. #985

Please sign in to comment.