On Aug 27, 2008, at 7:53 AM, William Stewart wrote:
You can't provide integer to most audio units on the desktop - you
have to provide float32 - so your "IsSigneInteger" flag is wrong.
In CoreAudioTypes.h there are also some definitions for the linear
PCM flags for native, canonical formats, so have a look through
these... You can also get the format first from an audio unit and
have a look at what its default is and use that as a starting point
Thanks for the advice. I tried the flag kAudioFormatFlagsCanonical,
but the EQ unit still yielded kAudioConverterErr_InvalidInputSize
render error.
I then called AudioUnitGetProperty to get the the
kAudioUnitProperty_StreamFormat from the EQ unit, then I'm even more
puzzled... the reading was this:
The number didn't seem to add up (shouldn't bits/channel be 16 in this
case)? I must have wrong understanding of how EQ unit works or what it
expects as input, but I don't know what goes wrong...
Thanks again!
d.
_______________________________________________
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