Skip to content

Commit 70aa23c

Browse files
Merge pull request #482 from processing/montoyamoraga-fixLinksAudioIn
fix links on documentation of p5.AudioIn methods
2 parents a0b603b + 6ae2311 commit 70aa23c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/audioin.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ define(function (require) {
262262
/**
263263
* Returns a list of available input sources. This is a wrapper
264264
* for <a href="https://developer.mozilla.org/
265-
* en-US/docs/Web/API/MediaDevices/enumerateDevices">
265+
* en-US/docs/Web/API/MediaDevices/enumerateDevices" target="_blank">
266266
* MediaDevices.enumerateDevices() - Web APIs | MDN</a>
267267
* and it returns a Promise.
268268
* @method getSources
@@ -321,8 +321,9 @@ define(function (require) {
321321
* Set the input source. Accepts a number representing a
322322
* position in the array returned by getSources().
323323
* This is only available in browsers that support
324-
* [navigator.mediaDevices.enumerateDevices()](https://developer.mozilla.org/
325-
* en-US/docs/Web/API/MediaDevices/enumerateDevices)
324+
* <a href="https://developer.mozilla.org/
325+
* en-US/docs/Web/API/MediaDevices/enumerateDevices" target="_blank">
326+
* navigator.mediaDevices.enumerateDevices()</a>
326327
*
327328
* @method setSource
328329
* @for p5.AudioIn

0 commit comments

Comments
 (0)