Re: Simple HAL multichannel I/O question
Re: Simple HAL multichannel I/O question
- Subject: Re: Simple HAL multichannel I/O question
- From: Wayne <email@hidden>
- Date: Sun, 19 Sep 2010 22:53:51 -0700
I already tried this; got one channel at the render callback, instead of two. I was puzzled myself. I'm a little surprised that there isn't any example code that outputs multichannel, was hoping someone here could point me at something to get me going.
-Wayne
----
On Sep 19, 2010, at 10:37 PM, tahome izwah wrote:
> 2010/9/19 Wayne <email@hidden>:
>> err = AudioUnitGetProperty(mOutputStream, kAudioUnitProperty_StreamFormat, kAudioUnitScope_Output, 0, &theFormat, &theSize);
>> // can see at this point that theFormat.mChannelsPerFrame is == 8
>
>
> Does it help if you set the input to the same format, ie.
>
> err = AudioUnitSetProperty(mOutputStream,
> kAudioUnitProperty_StreamFormat, kAudioUnitScope_Input, 0, &theFormat,
> theSize);
>
> ? Not sure if this helps though.
>
> --th
> _______________________________________________
> 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
_______________________________________________
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