Skip to content

Commit c7073ec

Browse files
Merge pull request #692 from lf32/AudioVoice
Add documentation for `AudioVoice.dispose()`
2 parents 57dfcde + 81db71f commit c7073ec

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/audioVoice.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ class AudioVoice {
4848
this.output.disconnect();
4949
}
5050

51+
/**
52+
* Dispose the output if it exists
53+
* @method dispose
54+
* @for p5.AudioVoice
55+
*/
5156
dispose() {
5257
if (this.output) {
5358
this.output.disconnect();

0 commit comments

Comments
 (0)