Skip to content

Commit

Permalink
Documentation updates; Fixes #200
Browse files Browse the repository at this point in the history
  • Loading branch information
wdamien committed Sep 10, 2015
1 parent 4f87d70 commit 8503844
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/soundjs/AbstractSoundInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ this.createjs = this.createjs || {};
});

/**
* The length of the audio clip, in milliseconds.
* Sets or gets the length of the audio clip, value is in milliseconds.
*
* @property duration
* @type {Number}
Expand Down Expand Up @@ -225,7 +225,7 @@ this.createjs = this.createjs || {};
});

/**
* Determines if the audio is currently muted.
* Mutes or unmutes the current audio instance.
*
* @property muted
* @type {Boolean}
Expand All @@ -239,7 +239,7 @@ this.createjs = this.createjs || {};
});

/**
* Tells you if the audio is currently paused.
* Pauses or resumes the current audio instance.
*
* @property paused
* @type {Boolean}
Expand Down Expand Up @@ -356,7 +356,9 @@ this.createjs = this.createjs || {};

/**
* Stop playback of the instance. Stopped sounds will reset their position to 0, and calls to {{#crossLink "AbstractSoundInstance/resume"}}{{/crossLink}}
* will fail. To start playback again, call {{#crossLink "AbstractSoundInstance/play"}}{{/crossLink}}.
* will fail. To start playback again, call {{#crossLink "AbstractSoundInstance/play"}}{{/crossLink}}.
*
* If you don't want to lose your position use yourSoundInstance.paused = true instead. {{#crossLink "AbstractSoundInstance/paused"}}{{/crossLink}}.
*
* <h4>Example</h4>
*
Expand Down

0 comments on commit 8503844

Please sign in to comment.