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

Re: MT question


  • Subject: Re: MT question
  • From: john <email@hidden>
  • Date: Mon, 19 Apr 2004 18:35:30 -0400

Hi Mike,

I'm using AudioConverterConvertBuffer(), so I don't have the ioNumberDataPackets parameter.

-- John


in your AudioConverterComplexInputDataProc, do the values for *ioNumberDataPackets and ioData->mBuffers[N].mDataByteSize match up? if the sample rate changes, then the AudioConverter may be asking for a different number of frames (via *ioNumberDataPackets). if you don't set mDataByteSize to match up for the number of frames you're telling the AC via *ioNumberDataPackets, i bet you'll get kAudioConverterErr_InvalidInputSize.

-mike
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: MT question (From: john <email@hidden>)
 >Re: MT question (From: Michael Thornburgh <email@hidden>)

  • Prev by Date: Re: ParameterValues
  • Next by Date: Re: Invalid input size problem
  • Previous by thread: Re: MT question
  • Next by thread: Re: Invalid input size problem
  • Index(es):
    • Date
    • Thread