• 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: Audio converting code working on 10.3 and 10.4 - broken on 10.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio converting code working on 10.3 and 10.4 - broken on 10.5


  • Subject: Re: Audio converting code working on 10.3 and 10.4 - broken on 10.5
  • From: "Mattias Arrelid" <email@hidden>
  • Date: Mon, 15 Oct 2007 23:05:57 +0200

On 10/11/07, James McCartney <email@hidden> wrote:

On Oct 11, 2007, at 3:47 AM, Mattias Arrelid wrote:

On 10/10/07, james mccartney < email@hidden> wrote:

On Oct 10, 2007, at 10:00 AM, Mattias Arrelid wrote:

Hi everyone,

We recently installed the latest developer preview on one of the machines at work to test our application on 10.5 before it officially ships. Everything works as expected, except one part of the audio converter that converts compressed data. We're using AudioConverterFillComplexBuffer and it's working flawlessly under 10.3 and 10.4, but on 10.5 each call to this function yields the error code "561015652". Does anyone have any suggestions what we might be doing wrong?

561015652 == '!pkd'

AudioConverter.h
kAudioConverterErr_RequiresPacketDescriptionsError = '!pkd',

You are passing a NULL AudioStreamPacketDescriptions pointer for a format whose AudioStreamBasicDescription has an mBytesPerPacket of zero.

Aha, didn't see that one. It has been working without flaws on 10.3 and 10.4, but 10.5 didn't let me convert anything unless I allocated an AudioStreamPacketDescription and filled it with the offset and current length, and then told the AudioConverterComplexInputDataProc's outDataPacketDescription about this. Thanks for the fast reply, now we're up and running again!

Regards / Mattias


What formats are you converting?

It's data in the mp3 format that's being decompressed. Should things behave differently in such a case?

/ Mattias
 _______________________________________________
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

References: 
 >Audio converting code working on 10.3 and 10.4 - broken on 10.5 (From: "Mattias Arrelid" <email@hidden>)
 >Re: Audio converting code working on 10.3 and 10.4 - broken on 10.5 (From: james mccartney <email@hidden>)
 >Re: Audio converting code working on 10.3 and 10.4 - broken on 10.5 (From: "Mattias Arrelid" <email@hidden>)
 >Re: Audio converting code working on 10.3 and 10.4 - broken on 10.5 (From: James McCartney <email@hidden>)

  • Prev by Date: Re: Ring buffer design for MP3 (et. al.) playback
  • Next by Date: Generic OUTGOING data to view?
  • Previous by thread: Re: Audio converting code working on 10.3 and 10.4 - broken on 10.5
  • Next by thread: iTunes sending the current filename to another program....
  • Index(es):
    • Date
    • Thread