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

AudioConverterFillComplexBuffer


  • Subject: AudioConverterFillComplexBuffer
  • From: Craig Bakalian <email@hidden>
  • Date: Tue, 26 Apr 2005 13:53:37 -0400

Hi,
I must convert some audio data. I am on page 50-51 of the CoreAudio pdf. I am not sure I understand the process of the AudioConverterRef. I understand that I set up a converter instance with two AudioStreamBasicDescriptions, in and out. However, on the AudioConverterFillComplexBuffer(converter, inputProcPtr, userData, &ioOutputDataPacketSize, &bufferList, NULL) I don't understand how the &bufferList is working. Am I to create an instance of an AudioBufferList and fill in the mBuffers[i]->mData with the data I need converted? Also, the userData, must I set up constants that define what the new fields of the mData will be set to in the inputProc function (like on page 51)?
Or, is there any further documentation, or examples of a working AudioConverterRef out there?



Craig Bakalian www.eThinkingCap.com

_______________________________________________
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


  • Follow-Ups:
    • Re: AudioConverterFillComplexBuffer
      • From: William Stewart <email@hidden>
    • Re: AudioConverterFillComplexBuffer
      • From: Herbie Robinson <email@hidden>
  • Prev by Date: Re: What AudioFileWritePackets() caching means?
  • Next by Date: Direct monitoring
  • Previous by thread: Re: What AudioFileWritePackets() caching means?
  • Next by thread: Re: AudioConverterFillComplexBuffer
  • Index(es):
    • Date
    • Thread