Re: AudioCodec, ProduceOutputpackets and ioOutputDataByteSize
Re: AudioCodec, ProduceOutputpackets and ioOutputDataByteSize
- Subject: Re: AudioCodec, ProduceOutputpackets and ioOutputDataByteSize
- From: Mike Erickson <email@hidden>
- Date: Thu, 11 May 2006 09:44:57 -0400
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.
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.
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