Audio on emuilator | Failed to prepareToPlay

66 views
Skip to first unread message

TheCocce

unread,
Jul 24, 2015, 12:22:13 PM7/24/15
to RoboVM
Hi guys, i have this error using sound on emulator.
The application doesn't run.
Any ideas?

2015-07-24 18:06:49.961 IOSLauncher[1659:49871] [debug] IOSApplication: iOS version: 8.4
2015-07-24 18:06:49.962 IOSLauncher[1659:49871] [debug] IOSApplication: Running in 32-bit mode
2015-07-24 18:06:49.964 IOSLauncher[1659:49871] [debug] IOSApplication: scale: 2.0
2015-07-24 18:06:49.982 IOSLauncher[1659:49871] [debug] IOSApplication: Unscaled View: Portrait 320x480
2015-07-24 18:06:49.982 IOSLauncher[1659:49871] [debug] IOSApplication: View: Portrait 640x960
2015-07-24 18:06:49.983 IOSLauncher[1659:49871] [debug] IOSGraphics: 640.0x960.0, 2.0
2015-07-24 18:06:50.216 IOSLauncher[1659:49871] [debug] IOSGraphics: Display: ppi=264, density=1.65
2015-07-24 18:06:50.443 IOSLauncher[1659:49956] 18:06:50.443 ERROR:     98: Error '!obj' trying to fetch default input device's sample rate
2015-07-24 18:06:50.443 IOSLauncher[1659:49956] 18:06:50.443 ERROR:     100: Error getting audio input device sample rate: '!obj'
2015-07-24 18:06:50.444 IOSLauncher[1659:49956] 18:06:50.444 WARNING:   230: The input device is 0x0; '(null)'
2015-07-24 18:06:50.444 IOSLauncher[1659:49956] 18:06:50.444 WARNING:   234: The output device is 0x26; 'AppleHDAEngineOutput:1B,0,1,2:0'
2015-07-24 18:06:50.444 IOSLauncher[1659:49956] 18:06:50.444 ERROR:     296: error '!obj'
2015-07-24 18:06:50.445 IOSLauncher[1659:49928] 18:06:50.445 ERROR:     296: error -66680
2015-07-24 18:06:50.446 IOSLauncher[1659:49928] 18:06:50.446 ERROR:     113: * * * NULL AQIONode object
2015-07-24 18:06:50.446 IOSLauncher[1659:49871] 18:06:50.446 ERROR:     >aurioc> 806: failed: -10851 (enable 2, outf< 2 ch,  44100 Hz, Int16, inter> inf< 2 ch,      0 Hz, Int16, inter>)
2015-07-24 18:06:50.446 IOSLauncher[1659:49871] OAL Error: +[ALWrapper openDevice:]: Could not open device (null)
2015-07-24 18:06:50.446 IOSLauncher[1659:49871] OAL Error: -[ALDevice initWithDeviceSpecifier:]: <ALDevice: 0xd20f420>: Failed to create OpenAL device (null)
2015-07-24 18:06:50.447 IOSLauncher[1659:49871] OAL Error: +[ALWrapper closeDevice:]: Invalid Value (error code 0x0000a004)
2015-07-24 18:06:50.448 IOSLauncher[1659:49871] OAL Warning: -[OALAudioSession onAudioError:]: Received audio error notification, but last reset was 0.132711 seconds ago. Doing nothing.
2015-07-24 18:06:50.448 IOSLauncher[1659:49871] OAL Error: -[OALSimpleAudio initWithSources:]: <OALSimpleAudio: 0xd20f1c0>: Could not create OpenAL device
2015-07-24 18:06:50.448 IOSLauncher[1659:49871] [error] IOSAudio: No OALSimpleAudio instance available, audio will not be availabe
2015-07-24 18:06:50.449 IOSLauncher[1659:49928] 18:06:50.449 ERROR:     703: Can't make UISound Renderer
2015-07-24 18:06:50.513 IOSLauncher[1659:49871] [debug] IOSApplication: created
2015-07-24 18:06:52.941 IOSLauncher[1659:49967] 18:06:52.941 ERROR:     296: error -66680
2015-07-24 18:06:52.941 IOSLauncher[1659:49967] 18:06:52.941 ERROR:     >aq> 1595: failed (-66680); will stop (8000/0 frames)
2015-07-24 18:06:52.942 IOSLauncher[1659:49967] OAL Error: -[OALAudioTrack preloadUrl:seekTime:]: <OALAudioTrack: 0x10013860: song.mp3>: Failed to prepareToPlay: file:///Users/administrator/Library/Developer/CoreSimulator/Devices/629ABFBE-96EC-4370-9830-4B607DF23ADF/data/Containers/Bundle/Application/07A2CBEB-2BBA-4F3D-9CC0-61C2D485D299/IOSLauncher.app/data/musics/song.mp3
com.badlogic.gdx.utils.GdxRuntimeException: com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load dependencies of asset: data/musics/song.mp3
at com.badlogic.gdx.assets.AssetManager.handleTaskError(AssetManager.java)
at com.badlogic.gdx.assets.AssetManager.update(AssetManager.java)

TheCocce

unread,
Jul 25, 2015, 6:05:57 AM7/25/15
to RoboVM, thec...@gmail.com
I use a MacMini using MacOS 10.10.4

Mario Zechner

unread,
Jul 27, 2015, 5:46:24 AM7/27/15
to RoboVM, thec...@gmail.com, thec...@gmail.com
This appears to be a bug in libGDX. Could you open an issue at https://github.com/libgdx/libgdx/issues? Thanks!
Reply all
Reply to author
Forward
0 new messages