• 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: Subsampling with AudioConverter?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Subsampling with AudioConverter?


  • Subject: RE: Subsampling with AudioConverter?
  • From: "Tim Dorcey" <email@hidden>
  • Date: Fri, 12 Dec 2003 16:24:34 -0800

If you are using AudioConverterConvertBuffer, then you need to pre-compute
how much output data your input buffer will produce, and pass that as the
destination buffer size. This was counter-intuitive to me, but I guess
makes sense from playout point of view. It's saying you don't have enough
input data to produce the amount of output data you "requested." There is a
simple call (I can't recall) that will do this computation for you.

Tim

> -----Original Message-----
> From: email@hidden
> [mailto:email@hidden]On Behalf Of
> Hugues Pisapia
> Sent: Friday, December 12, 2003 3:49 PM
> To: email@hidden
> Subject: Subsampling with AudioConverter?
>
>
> Hi there,
>
> I am trying to perform subsampling with AudioConverters and
> it seem I am
> not able to do that.
> I am constantly getting "InvalidInputSize"...
>
> Am I doing something wrong and if so, where could I find
> data/examples?
>
> Thanks,
> Hugues
> _______________________________________________
> 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.
_______________________________________________
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: 
 >Subsampling with AudioConverter? (From: Hugues Pisapia <email@hidden>)

  • Prev by Date: Re: HALLab errors
  • Next by Date: Re: Polling Callback, Threads [Attn: Michael Thornburgh]
  • Previous by thread: Subsampling with AudioConverter?
  • Next by thread: RE: DSD/SACD [was 192kHz/96kHz soundcard...]
  • Index(es):
    • Date
    • Thread