• 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: Identification of AudioConverter error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Identification of AudioConverter error


  • Subject: Re: Identification of AudioConverter error
  • From: Christof Faller <email@hidden>
  • Date: Wed, 13 Nov 2002 08:42:01 +0100

John,

However, my not-so-mathematical mind is having trouble understanding how this could happen. It isn't possible for the initial audio chunks to be anything other than sizes divisible by the frame size, and the 1572864 byte chunks are divisible by the frame size...so how could the last chunk not be divisible?

I am successfully using AudioConverter for real-time re-sampling of audio input. Do you use AudioConverter for re-samping or something else? If you use it for re-sampling and you use an "un-even" conversion ratio (e.g. 16000/44100) then the number of required samples by the AudioConverter varies by +-1 in order to get a fixed sized block of output samples.

May that be the issue?

Chris



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Christof Faller Media Signal Processing Research
email@hidden Agere Systems
(908) 508 8322 4 Connel Drive, Rm 4P-744-B
Berkeley Heights, NJ 07922, USA
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
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.

  • Follow-Ups:
    • Re: Identification of AudioConverter error
      • From: email@hidden
  • Prev by Date: HAL Input gain
  • Next by Date: Resource contexts and AUCarbonView
  • Previous by thread: Re: HAL Input gain
  • Next by thread: Re: Identification of AudioConverter error
  • Index(es):
    • Date
    • Thread