• 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
Re: TimePitchAU error codes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TimePitchAU error codes


  • Subject: Re: TimePitchAU error codes
  • From: Edward Agabeg <email@hidden>
  • Date: Fri, 06 Dec 2013 15:56:14 -0500

I'm still struggling to get the TimePitchAU to work in my AUGraph.

Setting the stream format through the following OSStatus errors: -10877 (input stream) & -10868 (output stream).

both of these log as 'null' with the following code:

- (void) printErrorMessage: (NSString *) errorString withStatus: (OSStatus) result {
   
    char resultString[5];
   UInt32 swappedResult = CFSwapInt32HostToBig (result);
   bcopy (&swappedResult, resultString, 4);
   resultString[4] = '\0';
   NSString *myNSString  = [NSString stringWithUTF8String:resultString];
   
    NSLog (
          @"*** %@ error: %@",
          errorString,
          myNSString
          );
}

There must be some way to get a more useful result from the error codes?

thanks,

rob

Some Core Audio errors are 4CC's some aren't. Just search the .h files (in this case AUComponent.h) using whatever method you prefer to find this information.

 kAudioUnitErr_FormatNotSupported              = -10868
 kAudioUnitErr_InvalidElement                  = -10877

As comared to:
 kAudioConverterErr_FormatNotSupported       = 'fmt?'
etc.

edward
 _______________________________________________
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: Using AVAudioSession with remote I/O audio unit to read and process microphone data
  • Next by Date: Re: Using AVAudioSession with remote I/O audio unit to read and process microphone data
  • Previous by thread: TimePitchAU error codes
  • Next by thread: Re: TimePitchAU error codes
  • Index(es):
    • Date
    • Thread