AudioQueueNewOutput doesnt work on simulator (2.2)

Discussion in 'iPhone/iPad Programming' started by 123321, Jan 19, 2009.

  1. macrumors newbie

    Joined:
    Dec 24, 2008
    #1
    On Simulator with 2.1 my code works fine, but when I build it for Simulator 2.2 my application hangs on that call:

    Code:
    AudioQueueNewOutput (
            &audioFormat,
            playbackCallback,
            self, 
            CFRunLoopGetCurrent (),
            kCFRunLoopCommonModes,
            0,                                
            &queueObject
        );
    audioFormat correctly filled with call
    Code:
    AudioFileGetProperty (
    		audioFileID, 
    		kAudioFilePropertyDataFormat,
    		&sizeof(AudioStreamBasicDescription),
    		&audioFormat
    	);
    
    audioFormat:
    audioFormat.png

    I used my own sound file and sound files from Apple's examples - same result. Who can help me with that problem?
     
  2. macrumors 6502a

    Joined:
    Oct 24, 2008
    Location:
    Cambridge
    #2
    What error do you get on the console?
     
  3. thread starter macrumors newbie

    Joined:
    Dec 24, 2008
    #3
    2009-01-20 15:23:26.770 myApp[1988:20b] Error loading /Library/QuickTime/LiveType.component/Contents/MacOS/LiveType: dlopen(/Library/QuickTime/LiveType.component/Contents/MacOS/LiveType, 262): Symbol not found: _SCDynamicStoreCopyConsoleUser
    Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
    Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2.sdk/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    =shlibs-removed,shlib-info=[num="50",name="LiveType",kind="-",dyld-addr="0x4803000",reason="dyld",requested-state="E",state="E",path="/Library/QuickTime/LiveType.component/Contents/MacOS/LiveType",description="/Library/QuickTime/LiveType.component/Contents/MacOS/LiveType",loaded_addr="0x4803000",slide="0x4803000",prefix=""]
    =shlibs-removed,shlib-info=[num="53",name="LiveType",kind="F",dyld-addr="0x480b000",reason="dyld",requested-state="E",state="E",path="/System/Library/PrivateFrameworks/LiveType.framework/Versions/A/LiveType",description="/System/Library/PrivateFrameworks/LiveType.framework/Versions/A/LiveType",loaded_addr="0x480b000",slide="0x480b000",prefix=""]
     

Share This Page