mirror of
https://github.com/photonstorm/phaser
synced 2025-01-20 17:14:02 +00:00
Added touchLocked argument to HTML5AudioFile class constructor
This commit is contained in:
parent
be7741ed89
commit
81f3b56b0a
1 changed files with 3 additions and 1 deletions
|
@ -11,8 +11,10 @@ var HTML5AudioFile = new Class({
|
||||||
|
|
||||||
initialize:
|
initialize:
|
||||||
|
|
||||||
function HTML5AudioFile (key, url, path, config)
|
function HTML5AudioFile (key, url, path, config, touchLocked)
|
||||||
{
|
{
|
||||||
|
this.touchLocked = touchLocked;
|
||||||
|
|
||||||
var fileConfig = {
|
var fileConfig = {
|
||||||
type: 'audio',
|
type: 'audio',
|
||||||
extension: GetFastValue(url, 'type', ''),
|
extension: GetFastValue(url, 'type', ''),
|
||||||
|
|
Loading…
Reference in a new issue