mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 16:48:00 +00:00
updating start
method documentation
[skip ci]
This commit is contained in:
parent
906859b764
commit
0a4b997bde
1 changed files with 2 additions and 2 deletions
|
@ -149,9 +149,8 @@ define(["Tone/core/Tone", "Tone/core/Buffer", "Tone/source/Source"], function(To
|
|||
};
|
||||
|
||||
/**
|
||||
* play the buffer between the desired positions
|
||||
* Play the buffer between the desired positions
|
||||
*
|
||||
* @private
|
||||
* @param {Time} [startTime=now] when the player should start.
|
||||
* @param {Time} [offset=0] the offset from the beginning of the sample
|
||||
* to start at.
|
||||
|
@ -159,6 +158,7 @@ define(["Tone/core/Tone", "Tone/core/Buffer", "Tone/source/Source"], function(To
|
|||
* is given, it will default to the full length
|
||||
* of the sample (minus any offset)
|
||||
* @returns {Tone.Player} this
|
||||
* @method start
|
||||
*/
|
||||
Tone.Player.prototype._start = function(startTime, offset, duration){
|
||||
if (this._buffer.loaded){
|
||||
|
|
Loading…
Reference in a new issue