• 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: AudioCodec, ProduceOutputpackets and ioOutputDataByteSize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioCodec, ProduceOutputpackets and ioOutputDataByteSize


  • Subject: Re: AudioCodec, ProduceOutputpackets and ioOutputDataByteSize
  • From: William Stewart <email@hidden>
  • Date: Thu, 11 May 2006 13:00:23 -0700


On 11/05/2006, at 6:44 AM, Mike Erickson wrote:


On May 10, 2006, at 2:29 PM, email@hidden wrote:


There could be lots of reasons. For instance, you don't say how you
are filling out the ASBD for the format your encoder. For VBR
formats, you should be specifying pretty much the whole ASBD as zero
save for the sample rate, format ID and number of channels (and flags
if you are using any).

Thats exactly what I'm doing for VBR. All zeros except channels, sample rate and format.



So, you have variable frames per packet and variable bytes per packet. Make sure you provide both values in the packet descriptions you pass out.



Also, from looking at the AudioConverter's code, it looks as if the packet descriptions won't get asked for if the caller of the AudioConverter didn't ask for them. What are you using to test your codec with?

ConvertFile from the SDk gives them to me if I compile it with UseAC-AF. afconvert doesn't give them to me.

There must be some discrepancy - if you can send us a build of your codec we can probably tell you what's going on


Thanks

Bill


Mike _______________________________________________ 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

--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
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: 
 >Re: AudioCodec, ProduceOutputpackets and ioOutputDataByteSize (From: Mike Erickson <email@hidden>)

  • Prev by Date: Re: Simple AudioCodec question
  • Next by Date: AudioDeviceStop and ioProc
  • Previous by thread: Re: AudioCodec, ProduceOutputpackets and ioOutputDataByteSize
  • Next by thread: Re: Welcome to the "Coreaudio-api" mailing list
  • Index(es):
    • Date
    • Thread