• 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
Help with AudioUnitFillComplexBuffer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with AudioUnitFillComplexBuffer


  • Subject: Help with AudioUnitFillComplexBuffer
  • From: "Stephen Shaw" <email@hidden>
  • Date: Wed, 30 Nov 2005 14:24:22 -0800
  • Thread-topic: Help with AudioUnitFillComplexBuffer

 

I have an AudioUnit running and in its callback routine I have a call to AudioUnitFillComplexBuffer ()

 

The parameters being supplied to the call to AudioUnitFillComplexBuffer are

 

AudioUnitFillComplexBuffer (sConverter, ACComplexInputProc, inUserData, &inNumFrames, ioData, outDescription);

 

The values for the parameters are

 

sConverter - a valid converter

ACComplexInputProc – it’s a function pointer

inUserData  = NULL

inNumFrames = 512

ioData = a ptr to an AudioBufferList where mNumberBuffers == 1;

outDescription = NULL;

 

When the application starts, when I call AudioUnitFillComplexBuffer I get ~ 2 successful calls to my callback ACComplexInputProc and since I don’t

Have any valid audio data at the time, I set

 

ioData->mBuffers[0].mData = NULL;

ioData->mBuffers[0].mDataByteSize = 0;

 

and

 

return (noErr);

 

after the ~2 successful calls through AudioUnitFillComplexBuffer, it stops calling through to my specified callback (ACComplexInputProc), but still returns noErr.

 

Does anyone know what’s up here?  My AudioUnit is still running, requesting data, but my audio converter just quits responding.

 

Any help would be GREATLY appreciated!!!!!

 

-Stephen

 

p.s. is there any routine to check the status of an audio converter?

 _______________________________________________
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: SPDIF encoded output on G5
  • Next by Date: Re: SPDIF encoded output on G5
  • Previous by thread: Re: Endian stuff was: Re: SPDIF encoded output on G5
  • Index(es):
    • Date
    • Thread