Skip to content

Commit

Permalink
fix soundfile pause example
Browse files Browse the repository at this point in the history
  • Loading branch information
therewasaguy committed Mar 27, 2015
1 parent 4cf3c7b commit 6869f8f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/p5.sound.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! p5.sound.js v0.1.8 2015-03-25 */
/*! p5.sound.js v0.1.8 2015-03-27 */
(function (root, factory) {
if (typeof define === 'function' && define.amd)
define('p5.sound', ['p5'], function (p5) { (factory(p5));});
Expand Down Expand Up @@ -870,6 +870,8 @@ soundfile = function () {
* soundFile.play();
* background(0, 255, 0);
* }
* </code>
* </div>
*/
p5.SoundFile.prototype.pause = function (time) {
var now = p5sound.audiocontext.currentTime;
Expand Down
Loading

0 comments on commit 6869f8f

Please sign in to comment.