Re: *Interleaved* input with AUHAL?
Re: *Interleaved* input with AUHAL?
- Subject: Re: *Interleaved* input with AUHAL?
- From: "Mike Kluev" <email@hidden>
- Date: Tue, 16 Dec 2008 12:45:46 +0300
On Tue, 16 Dec 2008 10:45:28 +0300
"Mike Kluev" <email@hidden> wrote:
On Mon, 15 Dec 2008 11:45:09 -0800
William Stewart <email@hidden> wrote:
On Dec 15, 2008, at 9:26 AM, Mike Kluev wrote:
I can set AUHAL to consume stereo+float+interleaved format for
output. But not for
input. Looks like input insists on being non-interleaved. Is it
correct behavior or am
I doing something wrong?
which bus, element are you trying to set these formats?
The "app" side scope of microphone bus (element 1, output scope).
The AudioUnitSetProperty succeeds (and AudioUnitGetProperty
confirms the change), but the subsequent AudioUnitRender calls
fail with paramErr, and so far I wasn't able to figure out what's
wrong.
If I set non-interleaved format - everything works ok.
I fixed this by putting 1 into mNumberBuffers of the structure passed
to AudioUnitRender. Prior to that there was 2 and it didn't work with
interleaved samples.
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