Re: Stereo recording with remoteIO - how?
Re: Stereo recording with remoteIO - how?
- Subject: Re: Stereo recording with remoteIO - how?
- From: Doug Wyatt <email@hidden>
- Date: Mon, 19 Dec 2011 13:06:13 -0800
On Dec 18, 2011, at 3:29 , email@hidden wrote:
> Hi Tom,
>
> Thanks a million for pointing me in the right direction. The reason my code only worked for mono input was that I specified sizeof(SInt16) instead of sizeof(AudioUnitSampleByte) which is 4bytes. From AudioGraph's documentation:
>
> "You can set the remote IO input bus (mic) to SInt16, as long as you are only using one channel. SInt16 format streams will not work with multiple channels, (stereo)."
>
> Why is this not on page 1 of Apple's remoteIO documentation?
There is no such limitation on AURemoteIO's client formats. It will accept any correctly-specified AudioStreamBasicDescription (and should be returning errors for incorrectly specified ones).
> Anyway, AudioUnitRender now reads 8.24 samples (regardless of mono/stereo) and converts them to SInt16 format. If anyone is interested in the code, ask away and I'll post some snippets.
>
> Alex
_______________________________________________
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