Pari05 Posted October 14, 2014 Share Posted October 14, 2014 hi there, i'm having a big problem with my hackintosh it can't get the audio device' address, both using SpriteKit than Cocos2d, and so it crash i got this log: 2014-10-12 16:47:16.876 qwe[3466:3a03] 16:47:16.876 ERROR: 88: Error '!obj' trying to fetch default input device's sample rate 2014-10-12 16:47:16.877 qwe[3466:3a03] 16:47:16.877 ERROR: 90: Error getting audio input device sample rate: '!obj' 2014-10-12 16:47:16.878 qwe[3466:3a03] 16:47:16.878 WARNING: 219: The input device is 0x0; '(null)' 2014-10-12 16:47:16.878 qwe[3466:3a03] 16:47:16.878 WARNING: 223: The output device is 0x2f; 'AppleHDAEngineOutputDP:0,1,0,1,0:0:{2D4C-0650-00000000}' 2014-10-12 16:47:16.878 qwe[3466:3a03] 16:47:16.878 ERROR: 398: error '!obj' 2014-10-12 16:47:16.879 qwe[3466:1303] 16:47:16.879 ERROR: 180: EXCEPTION thrown ('!dev'): - 2014-10-12 16:47:16.878 qwe[3466:60b] 16:47:16.878 ERROR: >aurioc> 783: failed: -10851 (enable 2, outf< 2 ch, 44100 Hz, Int16, inter> inf< 2 ch, 0 Hz, Int16, inter>) 2014-10-12 16:47:16.879 qwe[3466:60b] OAL Error: +[ALWrapper openDevice:]: Could not open device (null) 2014-10-12 16:47:16.879 qwe[3466:60b] OAL Error: -[ALDevice initWithDeviceSpecifier:]: <ALDevice: 0x9c2ccd0>: Failed to init device (null). Returning nil 2014-10-12 16:47:16.918 qwe[3466:60b] OAL Error: +[ALWrapper closeDevice:]: Invalid Value (error code 0x0000a004) 2014-10-12 16:47:16.918 qwe[3466:60b] OAL Warning: -[OALAudioSession onAudioError:]: Received audio error notification, but last reset was 0.049875 seconds ago. Doing nothing. 2014-10-12 16:47:16.918 qwe[3466:60b] OAL Error: -[ALContext initOnDevice:attributes:]: <ALContext: 0x9c2cec0>: Failed to init because device was nil. Returning nil 2014-10-12 16:47:16.919 qwe[3466:60b] OAL Error: -[ALSource initOnContext:]: <ALSource: 0x9b27890>: Failed to init because context was nil. Returning nil 2014-10-12 16:47:16.919 qwe[3466:60b] OAL Error: +[ALWrapper sourceStop:]: Invalid Value (error code 0x0000a003) 2014-10-12 16:47:16.919 qwe[3466:60b] OAL Warning: -[OALAudioSession onAudioError:]: Received audio error notification, but last reset was 0.051126 seconds ago. Doing nothing. 2014-10-12 16:47:16.919 qwe[3466:60b] OAL Error: +[ALWrapper sourcei:parameter:value:]: Invalid Value (error code 0x0000a003) 2014-10-12 16:47:16.922 qwe[3466:60b] OAL Warning: -[OALAudioSession onAudioError:]: Received audio error notification, but last reset was 0.053841 seconds ago. Doing nothing. 2014-10-12 16:47:16.922 qwe[3466:60b] OAL Error: +[ALWrapper deleteSources:numSources:]: Invalid Operation (error code 0x0000a004) 2014-10-12 16:47:16.923 qwe[3466:60b] OAL Warning: -[OALAudioSession onAudioError:]: Received audio error notification, but last reset was 0.054623 seconds ago. Doing nothing. 2014-10-12 16:47:16.923 qwe[3466:60b] OAL Error: -[ALSource initOnContext:]: <ALSource: 0x9b27890>: Failed to init because context was nil. Returning nil 2014-10-12 16:47:16.923 qwe[3466:60b] OAL Error: +[ALWrapper sourceStop:]: Invalid Value (error code 0x0000a003) 2014-10-12 16:47:16.924 qwe[3466:60b] OAL Warning: -[OALAudioSession onAudioError:]: Received audio error notification, but last reset was 0.055547 seconds ago. Doing nothing. 2014-10-12 16:47:16.924 qwe[3466:60b] OAL Error: +[ALWrapper sourcei:parameter:value:]: Invalid Value (error code 0x0000a003) 2014-10-12 16:47:16.936 qwe[3466:60b] OAL Warning: -[OALAudioSession onAudioError:]: Received audio error notification, but last reset was 0.068144 seconds ago. Doing nothing. 2014-10-12 16:47:16.937 qwe[3466:60b] OAL Error: +[ALWrapper deleteSources:numSources:]: Invalid Operation (error code 0x0000a004) 2014-10-12 16:47:16.937 qwe[3466:60b] OAL Warning: -[OALAudioSession onAudioError:]: Received audio error notification, but last reset was 0.068958 seconds ago. Doing nothing. 2014-10-12 16:47:16.939 qwe[3466:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil' *** First throw call stack: ( 0 CoreFoundation 0x02dc81e4 __exceptionPreprocess + 180 1 libobjc.A.dylib 0x0247a8e5 objc_exception_throw + 44 2 CoreFoundation 0x02d7aabc -[__NSArrayM insertObject:atIndex:] + 844 3 CoreFoundation 0x02d7a760 -[__NSArrayM addObject:] + 64 4 qwe 0x001273a0 -[ALSoundSourcePool addSource:] + 128 5 qwe 0x00022d2f -[ALChannelSource addSource:] + 1183 6 qwe 0x0001af3d -[ALChannelSource initWithSources:] + 397 7 qwe 0x000288cf -[OALSimpleAudio initCommon:] + 175 8 qwe 0x00028d31 -[OALSimpleAudio initWithSources:] + 353 9 qwe 0x000287e5 -[OALSimpleAudio init] + 69 10 qwe 0x000282d1 +[OALSimpleAudio sharedInstanceSynch] + 129 11 qwe 0x0002837d +[OALSimpleAudio sharedInstance] + 45 12 qwe 0x0011bb59 -[CCAppDelegate setupCocos2dWithOptions:] + 4009 13 qwe 0x001414f2 -[AppDelegate application:didFinishLaunchingWithOptions:] + 258 14 UIKit 0x0045c14f -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 309 15 UIKit 0x0045caa1 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1810 16 UIKit 0x00461667 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 824 17 UIKit 0x00475f92 -[UIApplication handleEvent:withNewEvent:] + 3517 18 UIKit 0x00476555 -[UIApplication sendEvent:] + 85 19 UIKit 0x00463250 _UIApplicationHandleEvent + 683 20 GraphicsServices 0x03b3ef02 _PurpleEventCallback + 776 21 GraphicsServices 0x03b3ea0d PurpleEventCallback + 46 22 CoreFoundation 0x02d43ca5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 53 23 CoreFoundation 0x02d439db __CFRunLoopDoSource1 + 523 24 CoreFoundation 0x02d6e68c __CFRunLoopRun + 2156 25 CoreFoundation 0x02d6d9d3 CFRunLoopRunSpecific + 467 26 CoreFoundation 0x02d6d7eb CFRunLoopRunInMode + 123 27 UIKit 0x00460d9c -[UIApplication _run] + 840 28 UIKit 0x00462f9b UIApplicationMain + 1225 29 qwe 0x00145b9c main + 92 30 qwe 0x00002725 start + 53 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb) I tried to browse the audio files of the two libraries, but i do not solve anything any suggestions? thanks a lot Link to comment https://www.insanelymac.com/forum/topic/301485-xcode-cant-get-audio-devices-address/ Share on other sites More sharing options...
Pari05 Posted October 15, 2014 Author Share Posted October 15, 2014 Up, anybody? Link to comment https://www.insanelymac.com/forum/topic/301485-xcode-cant-get-audio-devices-address/#findComment-2069827 Share on other sites More sharing options...
Recommended Posts