{"action":"created","issue":{"url":"https://api.github.com/repos/robovm/robovm/issues/1159","labels_url":"https://api.github.com/repos/robovm/robovm/issues/1159/labels{/name}","comments_url":"https://api.github.com/repos/robovm/robovm/issues/1159/comments","events_url":"https://api.github.com/repos/robovm/robovm/issues/1159/events","html_url":"https://github.com/robovm/robovm/issues/1159","id":107640894,"number":1159,"title":"AVPlayer fails to playback mp3","user":{"login":"badlogic","id":514052,"avatar_url":"https://avatars.githubusercontent.com/u/514052?v=3","gravatar_id":"","url":"https://api.github.com/users/badlogic","html_url":"https://github.com/badlogic","followers_url":"https://api.github.com/users/badlogic/followers","following_url":"https://api.github.com/users/badlogic/following{/other_user}","gists_url":"https://api.github.com/users/badlogic/gists{/gist_id}","starred_url":"https://api.github.com/users/badlogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badlogic/subscriptions","organizations_url":"https://api.github.com/users/badlogic/orgs","repos_url":"https://api.github.com/users/badlogic/repos","events_url":"https://api.github.com/users/badlogic/events{/privacy}","received_events_url":"https://api.github.com/users/badlogic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/robovm/robovm/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"badlogic","id":514052,"avatar_url":"https://avatars.githubusercontent.com/u/514052?v=3","gravatar_id":"","url":"https://api.github.com/users/badlogic","html_url":"https://github.com/badlogic","followers_url":"https://api.github.com/users/badlogic/followers","following_url":"https://api.github.com/users/badlogic/following{/other_user}","gists_url":"https://api.github.com/users/badlogic/gists{/gist_id}","starred_url":"https://api.github.com/users/badlogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badlogic/subscriptions","organizations_url":"https://api.github.com/users/badlogic/orgs","repos_url":"https://api.github.com/users/badlogic/repos","events_url":"https://api.github.com/users/badlogic/events{/privacy}","received_events_url":"https://api.github.com/users/badlogic/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/robovm/robovm/milestones/17","html_url":"https://github.com/robovm/robovm/milestones/1.9","labels_url":"https://api.github.com/repos/robovm/robovm/milestones/17/labels","id":1293882,"number":17,"title":"1.9","description":"Release 1.9","creator":{"login":"ntherning","id":135765,"avatar_url":"https://avatars.githubusercontent.com/u/135765?v=3","gravatar_id":"","url":"https://api.github.com/users/ntherning","html_url":"https://github.com/ntherning","followers_url":"https://api.github.com/users/ntherning/followers","following_url":"https://api.github.com/users/ntherning/following{/other_user}","gists_url":"https://api.github.com/users/ntherning/gists{/gist_id}","starred_url":"https://api.github.com/users/ntherning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntherning/subscriptions","organizations_url":"https://api.github.com/users/ntherning/orgs","repos_url":"https://api.github.com/users/ntherning/repos","events_url":"https://api.github.com/users/ntherning/events{/privacy}","received_events_url":"https://api.github.com/users/ntherning/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":0,"state":"open","created_at":"2015-09-07T14:39:59Z","updated_at":"2015-09-22T03:57:27Z","due_on":"2015-10-20T00:00:00Z","closed_at":null},"comments":1,"created_at":"2015-09-22T03:57:27Z","updated_at":"2015-09-22T08:36:59Z","closed_at":null,"body":"Given\r\n\r\n```\r\nFile mp3 = new File(new File(\"somepath\"), \"oops.mp3\");\r\nassert mp3.exists();\r\n        \r\nfinal NSURL url = new NSURL(mp3.toURI().toString());\r\nAVPlayer p = new AVPlayer(url);\r\np.play();\r\n```\r\n\r\nError produced on simulator:\r\n\r\n```\r\n2015-09-20 21:35:45.631 Fair Mines[29458:2887020] 21:35:45.631 ERROR:     98: Error '!obj' trying to fetch default input device's sample rate\r\n2015-09-20 21:35:45.632 Fair Mines[29458:2887020] 21:35:45.632 ERROR:     100: Error getting audio input device sample rate: '!obj'\r\n2015-09-20 21:35:45.632 Fair Mines[29458:2887020] 21:35:45.632 WARNING:   230: The input device is 0x0; '(null)'\r\n2015-09-20 21:35:45.632 Fair Mines[29458:2887020] 21:35:45.632 WARNING:   234: The output device is 0x32; 'AppleHDAEngineOutputDP:3,0,1,1:0:{2D4C-090B-00000001}'\r\n2015-09-20 21:35:45.632 Fair Mines[29458:2887020] 21:35:45.632 ERROR:     296: error '!obj'\r\n2015-09-20 21:35:45.632 Fair Mines[29458:2887020] 21:35:45.632 ERROR:     113: * * * NULL AQIONode object\r\n2015-09-20 21:35:45.633 Fair Mines[29458:2886983] 21:35:45.633 ERROR:     296: error -66680\r\n2015-09-20 21:35:45.633 Fair Mines[29458:2886983] 21:35:45.633 ERROR:     296: error -66680\r\n2015-09-20 21:35:45.634 Fair Mines[29458:2887020] 21:35:45.634 ERROR:     703: Can't make UISound Renderer\r\n2015-09-20 21:35:45.634 Fair Mines[29458:2886983] 21:35:45.634 ERROR:     296: error -66680\r\n```\r\n\r\nAlso appears to be problematic on iOS 9 device. See https://groups.google.com/forum/#!topic/robovm/JFmfDoUvsZI"},"comment":{"url":"https://api.github.com/repos/robovm/robovm/issues/comments/142213768","html_url":"https://github.com/robovm/robovm/issues/1159#issuecomment-142213768","issue_url":"https://api.github.com/repos/robovm/robovm/issues/1159","id":142213768,"user":{"login":"jtulach","id":1842422,"avatar_url":"https://avatars.githubusercontent.com/u/1842422?v=3","gravatar_id":"","url":"https://api.github.com/users/jtulach","html_url":"https://github.com/jtulach","followers_url":"https://api.github.com/users/jtulach/followers","following_url":"https://api.github.com/users/jtulach/following{/other_user}","gists_url":"https://api.github.com/users/jtulach/gists{/gist_id}","starred_url":"https://api.github.com/users/jtulach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtulach/subscriptions","organizations_url":"https://api.github.com/users/jtulach/orgs","repos_url":"https://api.github.com/users/jtulach/repos","events_url":"https://api.github.com/users/jtulach/events{/privacy}","received_events_url":"https://api.github.com/users/jtulach/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T08:36:59Z","updated_at":"2015-09-22T08:36:59Z","body":"My full project is at\r\n$ git clone https://github.com/jtulach/minesweeper.git\r\n$ cd minesweeper\r\nand I can reproduce the problem as:\r\n$ mvn clean install\r\n$ cd client-ios\r\n$ mvn robovm:ipad-sim\r\n$ mvn robovm:ios-device\r\nWhen playing the game as sound should be produced with every click on a square or explosion of a mine. With iOS7 the code worked. Later with iOS8 simulator and iOS8 on the device there was no sound and errors were printed on console. Today with iOS9 simulator I could hear the sound, however on iOS9 device there is no sound and no errors printed.\r\n\r\nI will be able to provide more details at the evening, if needed."}}