From: Vaughan Johnson <vaughan@au...> - 2011-02-21 22:55:17
(forwarding to Audacity Developers list. Will report back here so you
don't have to subscribe for this one issue.)
What version of Audacity are you using, OS, etc? There's been a lot of
recent work on device selection, so behavior is different from anything
we've officially released. (We have nightly builds posted, but they're
On 2/21/2011 4:18 AM, Chris Pike wrote:
> I'm using a USB audio interface with a 2-channel ADC and also S/PDIF
> When using Audacity (w/ Portaudio v1.9) there is some automatic input
> switching going on. I select the USB interface as the chosen capture
> device. If there is audio present on the digital input then this is
> recorded, if not then the analogue inputs are used. This switching
> occurs automatically and even switches during recording. I initially
> assumed this switch was in my USB audio interface rather than in
> software such as Audacity but in my own Portaudio application I am only
> reading the analogue inputs.
> The PaDeviceInfo for my audio interface reveals that the maximum number
> of inputs is 2. I open a stream on this device with the input parameter
> PaStreamParameters::channelCount set to 2 and it reads from the analogue
> inputs. In the docs for portaudio.h I can't see how to select the input
> channels used.
> If anyone can help me or point me to the part of audacity source code
> which selects which input channels I would much appreciate it.
> This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
> Please note that the BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
> Portaudio mailing list