• 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
aurioTouch2 error message and FFT
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

aurioTouch2 error message and FFT


  • Subject: aurioTouch2 error message and FFT
  • From: blake miller <email@hidden>
  • Date: Wed, 29 May 2013 12:19:56 -0500

I'm getting an error in the log using the aurioTouch2 sample code from Apple.  The line of code throwing it is:

static OSStatus PerformThru(void *inRefCon, AudioUnitRenderActionFlags *ioActionFlags,     const AudioTimeStamp *inTimeStamp, UInt32 inBusNumber, UInt32 inNumberFrames, AudioBufferList *ioData)
{
  // .. a bunch of code
  err = AudioConverterConvertComplexBuffer(THIS->audioConverter, inNumberFrames, ioData, THIS->drawABL);
  if (err) {
    printf("AudioConverterConvertComplexBuffer: error %d\n", (int)err);
    return err;
  }
}
The error message is: AudioConverterConvertComplexBuffer: error 1768846202

This supposedly means the input and output buffers are not the same size.  But upon inspecting the size, they look the same:

NSLog(@"%i", (unsigned int)(*ioData).mBuffers[0].mDataByteSize);
NSLog(@"%i", (unsigned int)(*THIS->drawABL).mBuffers[0].mDataByteSize);

Any ideas?  This is the sample code taken directly from the Apple site.  I'm totally new to iOS, so forgive my nubeness.

Also, the FFT feature of the app doesn't work (at least not in the 6.1 simulator).  I see that it tries to draw the spectrum, but then the lines just disappear off the top of the screen, and what is left is a single line at the right of the screen.

Thank you for your help.

Blake Miller
502-604-0604
email@hidden
 _______________________________________________
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: No interruption events when pausing music using headphone controller
  • Next by Date: Re: No interruption events when pausing music using headphone controller
  • Previous by thread: Re: No interruption events when pausing music using headphone controller
  • Next by thread: AUGraph with a single node
  • Index(es):
    • Date
    • Thread