{"action":"closed","issue":{"url":"https://api.github.com/repos/photonstorm/phaser/issues/1776","labels_url":"https://api.github.com/repos/photonstorm/phaser/issues/1776/labels{/name}","comments_url":"https://api.github.com/repos/photonstorm/phaser/issues/1776/comments","events_url":"https://api.github.com/repos/photonstorm/phaser/issues/1776/events","html_url":"https://github.com/photonstorm/phaser/issues/1776","id":72488715,"number":1776,"title":"Method Loader.pack() do not load audio sprites","user":{"login":"boniatillo-com","id":12187299,"avatar_url":"https://avatars.githubusercontent.com/u/12187299?v=3","gravatar_id":"","url":"https://api.github.com/users/boniatillo-com","html_url":"https://github.com/boniatillo-com","followers_url":"https://api.github.com/users/boniatillo-com/followers","following_url":"https://api.github.com/users/boniatillo-com/following{/other_user}","gists_url":"https://api.github.com/users/boniatillo-com/gists{/gist_id}","starred_url":"https://api.github.com/users/boniatillo-com/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boniatillo-com/subscriptions","organizations_url":"https://api.github.com/users/boniatillo-com/orgs","repos_url":"https://api.github.com/users/boniatillo-com/repos","events_url":"https://api.github.com/users/boniatillo-com/events{/privacy}","received_events_url":"https://api.github.com/users/boniatillo-com/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-01T18:18:32Z","updated_at":"2015-06-16T15:44:21Z","closed_at":"2015-06-16T15:44:21Z","body":"The method `Loader.pack()` do not load the audio sprites of the asset pack.\r\n\r\nI found the problem, in this [line](https://github.com/photonstorm/phaser/blob/dev/src/loader/Loader.js#L1778) it calls the method `Loader.audio` but instead it should call `Loader.audiosprite`, with the right arguments.\r\n\r\nCurrent code:\r\n```\r\n                case \"audiosprite\":\r\n                    this.audio(file.key, file.urls, file.jsonURL);\r\n                    break;\r\n```\r\n\r\nFixed code:\r\n\r\n```\r\n                case \"audiosprite\":\r\n                    this.audiosprite(file.key, file.urls, file.jsonURL, file.jsonData, file.autoDecode);\r\n                    break;\r\n```"}}