Skip to content

Commit 407f71b

Browse files
committed
Tidied up Sound.js
1 parent 12b99a1 commit 407f71b

1 file changed

Lines changed: 0 additions & 25 deletions

File tree

src/sound/Sound.js

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -258,31 +258,6 @@ Phaser.Sound.prototype = {
258258

259259
},
260260

261-
/**
262-
* Description.
263-
* @method Phaser.Sound#addMarker
264-
* @param {string} name - Description.
265-
* @param {Description} start - Description.
266-
* @param {Description} stop - Description.
267-
* @param {Description} volume - Description.
268-
* @param {Description} loop - Description.
269-
addMarker: function (name, start, stop, volume, loop) {
270-
271-
volume = volume || 1;
272-
if (typeof loop == 'undefined') { loop = false; }
273-
274-
this.markers[name] = {
275-
name: name,
276-
start: start,
277-
stop: stop,
278-
volume: volume,
279-
duration: stop - start,
280-
loop: loop
281-
};
282-
283-
},
284-
*/
285-
286261
/**
287262
* Adds a marker into the current Sound. A marker is represented by a unique key and a start time and duration.
288263
* This allows you to bundle multiple sounds together into a single audio file and use markers to jump between them for playback.

0 commit comments

Comments
 (0)