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

Identification of AudioConverter error


  • Subject: Identification of AudioConverter error
  • From: email@hidden
  • Date: Tue, 12 Nov 2002 21:08:21 +0000

Hello,

After getting around to doing testing, I found out what was causing the error using an AudioConverter, and am confused.

My application takes audio data chunks, then (for various reasons) splits them up into individual 1572864 byte chunks and sends them to the AudioConverter. The last individual audio chunk sent is almost always not 1572864 bytes, but however many bytes remain in the pre-split audio chunk.

It appears that this last chunk isn't always divisible by the frame size, causing the AudioConverter error (which does still convert the audio to the closest divisible size).

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?

Any help would be appreciated, thanks!

-- John
_______________________________________________
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: 
 >Quicktime midi bug (From: david <email@hidden>)

  • Prev by Date: AudioEngine needs to stop itself for input source change
  • Next by Date: Re: Quicktime midi bug
  • Previous by thread: Re: Quicktime midi bug
  • Next by thread: Re: Quicktime midi bug
  • Index(es):
    • Date
    • Thread