Aggregate device recording
Aggregate device recording
- Subject: Aggregate device recording
- From: Rob Clark <email@hidden>
- Date: Tue, 20 Sep 2011 17:07:27 +0100
I'm trying to record from an aggregate device using AudioQueues (via
modified AQRecorder code).
If I request to record from more than two channels I only ever get
audio recorded from the first two channels.
Different aggregate device configurations report the correct number of
input channels available (>2) via AudioHardwareServiceGetPropertyData
with a suitable kAudioDevicePropertyStreamConfiguration address. And I
can record fine from the individual devices involved. It doesn't
appear to be just the first device recording as if the first device
only has one input channel I still get 2 channels recorded.
What I actually get is a file written with the correct number of
channels but all but the first 2 are empty.
The audio queue metering also displays the correct number of input
channels but only the first 2 have non-zero values.
Is this a known problem or am I likely to be doing something stupid somewhere?
I haven't yet tried on a single device that supports more than two
channels, that is next.
Regards,
Rob Clark.
--
Rob Clark
_______________________________________________
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