{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1644","labels_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1644/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1644/comments","events_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1644/events","html_url":"https://github.com/HaxeFlixel/flixel/issues/1644","id":113332784,"number":1644,"title":"No sound on load: [Sound.hx:118: Error]","user":{"login":"pizzamakesgames","id":10467546,"avatar_url":"https://avatars.githubusercontent.com/u/10467546?v=3","gravatar_id":"","url":"https://api.github.com/users/pizzamakesgames","html_url":"https://github.com/pizzamakesgames","followers_url":"https://api.github.com/users/pizzamakesgames/followers","following_url":"https://api.github.com/users/pizzamakesgames/following{/other_user}","gists_url":"https://api.github.com/users/pizzamakesgames/gists{/gist_id}","starred_url":"https://api.github.com/users/pizzamakesgames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pizzamakesgames/subscriptions","organizations_url":"https://api.github.com/users/pizzamakesgames/orgs","repos_url":"https://api.github.com/users/pizzamakesgames/repos","events_url":"https://api.github.com/users/pizzamakesgames/events{/privacy}","received_events_url":"https://api.github.com/users/pizzamakesgames/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-26T11:08:15Z","updated_at":"2015-10-27T13:29:46Z","closed_at":null,"body":"Happening inconsistently on both neko and cpp, resulting in no sound being able to load.\r\n\r\nOn both targets, it may happen at any time the game is started, after it's already been compiled.\r\n\r\nNeko:\r\n```\r\nBuild succeeded\r\nDone(0)\r\nhaxelib run lime run \"Project.xml\" neko -debug\r\nRunning process: D:\\hyperdev\\haxe\\haxe\\haxelib.exe run lime run \"Project.xml\" neko -debug\r\nSound.hx:118: Error: Could not load \"assets/music/SnowPath_nonproperloop.ogg\"\r\nAL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005\r\nInvalid operation (/)\r\nCalled from flixel.system.FlxSound::update line 241\r\nCalled from flixel.system.frontEnds.SoundFrontEnd::update line 273\r\nCalled from flixel.FlxGame::update line 696\r\nCalled from flixel.FlxGame::step line 648\r\nCalled from flixel.FlxGame::onEnterFrame line 493\r\nCalled from openfl._legacy.events.EventDispatcher::dispatchEvent line 98\r\nCalled from openfl._legacy.display.DisplayObject::__dispatchEvent line 182\r\nCalled from openfl._legacy.display.DisplayObject::__broadcast line 161\r\nCalled from openfl._legacy.display.DisplayObjectContainer::__broadcast line 280\r\nCalled from openfl._legacy.display.Stage::__render line 1103\r\nCalled from openfl._legacy.display.Stage::__checkRender line 351\r\nCalled from openfl._legacy.display.Stage::__pollTimers line 1084\r\nCalled from openfl._legacy.display.Stage::__doProcessStageEvent line 430\r\nDone(1)\r\n```\r\nWindows:\r\n```\r\nBuild succeeded\r\nDone(0)\r\nhaxelib run lime run \"project.xml\" windows -debug\r\nRunning process: D:\\Projects\\hyperdev\\haxe\\haxelib.exe run lime run \"project.xml\" windows -debug\r\nSound.hx:118: Error: Could not load \"assets/sounds/PizzaIntro4_1.ogg\"\r\n```\r\n\r\nThis error has been persisting across different sounds (both .ogg and .wav), states and even games for me. If you want to try it yourself, this game should have the error on about every 20th start, bringing up my silly [workaround screen](http://i.imgur.com/mWAHUmX.png): https://www.dropbox.com/s/rdksc78r6l3vxm7/SkullzTwoSoundError118.rar\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27697269-no-sound-on-load-sound-hx-118-error?utm_campaign=plugin&utm_content=tracker%2F254189&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F254189&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/comments/151494847","html_url":"https://github.com/HaxeFlixel/flixel/issues/1644#issuecomment-151494847","issue_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1644","id":151494847,"user":{"login":"pizzamakesgames","id":10467546,"avatar_url":"https://avatars.githubusercontent.com/u/10467546?v=3","gravatar_id":"","url":"https://api.github.com/users/pizzamakesgames","html_url":"https://github.com/pizzamakesgames","followers_url":"https://api.github.com/users/pizzamakesgames/followers","following_url":"https://api.github.com/users/pizzamakesgames/following{/other_user}","gists_url":"https://api.github.com/users/pizzamakesgames/gists{/gist_id}","starred_url":"https://api.github.com/users/pizzamakesgames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pizzamakesgames/subscriptions","organizations_url":"https://api.github.com/users/pizzamakesgames/orgs","repos_url":"https://api.github.com/users/pizzamakesgames/repos","events_url":"https://api.github.com/users/pizzamakesgames/events{/privacy}","received_events_url":"https://api.github.com/users/pizzamakesgames/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T13:29:46Z","updated_at":"2015-10-27T13:29:46Z","body":"Had a lot of people test it for me and even got a program written that starts the game in quick succession in the hope to force the error, though it has not been happening anywhere but on my own PC. Would that help narrow the issue down? I did do a complete reinstall of HaxeFlixel, Haxe, Neko, OpenFL, Lime and Flashdevelop already. What else could be the cause of this?"}}