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

AudioConverterFillComplexBuffer returns paramErr


  • Subject: AudioConverterFillComplexBuffer returns paramErr
  • From: David Geldreich <email@hidden>
  • Date: Fri, 16 Jan 2009 15:41:08 +0100

Hello all,

in my application, for any input device, I would like to have a certain layout of my AudioBufferList :
- kAudioFormatLinearPCM
- 1 channel per buffer encoded in float
- as many buffer that there is channels in input
- ...


As input could be interleaved, compressed, encoded, ... I am trying to use an AudioConverter to get the layout I need. But when calling AudioConverterFillComplexBuffer I got a paramErr error.

Is it possible to use AudioConverter to convert one AudioBufferList with one buffer containing 2 interleaved channels in an AudioBufferList with 2 buffers each containing one channel ?

There is not much sample using AudioConverter and its documentation is "minimal" :-)

I attach my test to reproduce my problem.

Thanks in advance for pointing my misuse of the AudioConverter API.

David

Attachment: main.cpp
Description: Binary data


 _______________________________________________
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 returns paramErr
      • From: james mccartney <email@hidden>
  • Prev by Date: Re: Turning on 8.24 audio for iPhone
  • Next by Date: Re: Set output device and settings from console
  • Previous by thread: Re: SampleHardwarePlugIn sample
  • Next by thread: Re: AudioConverterFillComplexBuffer returns paramErr
  • Index(es):
    • Date
    • Thread