• 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: AudioConverterFillComplexBuffer failure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioConverterFillComplexBuffer failure


  • Subject: Re: AudioConverterFillComplexBuffer failure
  • From: dct <email@hidden>
  • Date: Mon, 20 Jul 2009 16:00:39 -0700

Doug, thanks for your reply.

I am setting the packet count and filling out that number of packet descriptions.
And, with no return, I don't get any error code, !pkt, or any other.

The code (which follows the attempt to set ioData values) is as follows:

*outDataPacketDescription = callBack->outPcktDescPtr;
callBack->outPcktDescPtr->mStartOffset = 0;
callBack->outPcktDescPtr->mVariableFramesInPacket = 1;
callBack->outPcktDescPtr->mDataByteSize =  nn * callBack->outBytsPerInPckt;
( where nn = # input packets = 1 in my test case )

In debug, observing *outDataPacketDescription immediately following this code snippet shows:
  
  outDataPacketDescription :        0xbfffe6a8
    *outDataPacketDescription :     0xbfffe950
       mStartOffset :                             0
       mVariableFRamesInPacket : 1
       mDataByteSize :                       9216 

Are you suggesting that outDataPacketDescription needs to be an array of (in this case) 1152 packet descriptions such that:
    mVariableFRamesInPacket = 1  in each,
    mDataByteSize = 8 in each, and
     mStartOffset indexes by 8 with each packet description  ?

Don

On Jul 20, 2009, at 2:44 PM, Doug Wyatt wrote:

In your input callback, you should be setting the packet count and filling out that number of packet descriptions. Are you doing that?

On Jul 20, 2009, at 12:09 , dct wrote:

As reported earlier in the thread "Endless loop running AudioConverterFillComplexBuffer", I have a situation where, once called, AudioConverterFillComplexBuffer calls the inputProc once and then fails--neither calling inputProc again nor returning.


 _______________________________________________
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

References: 
 >AudioConverterFillComplexBuffer failure (From: dct <email@hidden>)
 >Re: AudioConverterFillComplexBuffer failure (From: Doug Wyatt <email@hidden>)

  • Prev by Date: Re: kAudioConverterSampleRateConverterComplexity on iPhone
  • Next by Date: Re: how to access HAL buffer timestamps when using AUHAL?
  • Previous by thread: Re: AudioConverterFillComplexBuffer failure
  • Next by thread: How to find root key info in AIFF File
  • Index(es):
    • Date
    • Thread