• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problem with Inter App Audio : error -66748 from registration server
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with Inter App Audio : error -66748 from registration server


  • Subject: Problem with Inter App Audio : error -66748 from registration server
  • From: "herve.noury" <email@hidden>
  • Date: Tue, 30 Dec 2014 19:03:39 +0100

Hi

I can not solve this problem : I try to add Inter App Audio to my iPad synthesizer, but I always encounter this message when I launch on the iPad:
error -66748 from registration server
I could read some informations and tried to use the Inter-App Audio Examples as template, none solution was founded. 
The provisioning profile adds IAA since the beginning even if I only try to implement it now. The info.plist seems to be right (I copied it from the template).

Could the problem come from the audioUnit? it is connected directly without any graph this way :

- (void) setUp{
(…)
    
AVAudioSession *session = [AVAudioSession sharedInstance];
    
    //(activation of the audio session)
//(adding kAudioSessionCategory_PlayAndRecord and kAudioSessionProperty_AudioInputAvailable to the session)
    
    (…)
    AudioComponentDescription cd = {0};
    cd.componentType = kAudioUnitType_Output;
    cd.componentSubType = kAudioUnitSubType_RemoteIO;
    cd.componentManufacturer = kAudioUnitManufacturer_Apple;
    cd.componentFlags = 0;
    cd.componentFlagsMask = 0;
    
    AudioComponent comp = AudioComponentFindNext (NULL, &cd);
    if (comp == NULL) {
        printf ("can't get output unit");
        exit (-1);
    }
    AudioComponentInstanceNew(comp, &dazUnit);   //dazUnit is the audioUnit
    
    // register render callback
    UInt32 _oneFlag_ = 1;
    AudioUnitElement bus0 = 0;
    AudioUnitSetProperty (dazUnit,
                          kAudioOutputUnitProperty_EnableIO,
                          kAudioUnitScope_Output,
                          bus0,
                          &oneFlag,
                          sizeof(oneFlag));
    
    input.inputProc = MyAURenderCallback;   //the render of the synth
    input.inputProcRefCon = (__bridge void *)(self);
    
    AudioUnitElement bus1 = 1;
    AudioUnitSetProperty(dazUnit,
                         kAudioUnitProperty_SetRenderCallback,
                         kAudioUnitScope_Input,
                         0,
                         &input,
                         sizeof(input));
    
    //(I add after the kAudioUnitProperty_StreamFormat)
    // I initialize and start the audio unit
}

How do you think that I could resolve the issue? Thanks!

Herve Noury
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Volume automation with AVAudioPlayerNode (AVAudioMixing)?
  • Previous by thread: Re: Volume automation with AVAudioPlayerNode (AVAudioMixing)?
  • Index(es):
    • Date
    • Thread