Page 1 of 1

Multichannel I/O with portaudio

Posted: Tue Jan 13, 2009 6:42 pm
by aramosfet
Hi,
Let me start off by apologising, for this post is slightly off topic.
I'm working on a project to stream digital audio data from PC to a console through a dedicated ethernet port on the PC. It has to support multichannel audio streaming (atleast 8 channels). I tried out portaudio with the basic examples any they're working fine. Basically i need any audio played on the PC to be also transmitted on the ethernet port. For that i need to extract the audio data from windows audio I/O. From the basic examples of port audio, it appears that it reads and write streams only from/to the audio device, and apparently most audio devices support only 2 channels as input. But i need 6 or more channels as input(For AC3 5.1 audio in movies etc) to be streamed to the Ethernet port. So my Question can i access the audio data of *all* the channels played on the PC using Portaudio. If not i'll be glad to hear other ideas.Thanks.

I apologize again for being off topic, the port audio mailing list seems to be down, so this is the only place i found post relating to portaudio

Thanks
aramosfet.

Re: Multichannel I/O with portaudio

Posted: Tue Jan 13, 2009 7:21 pm
by kozikowski
Audacity will manage up to 16 tracks of audio from any single sound device. The problem with many multi-channel devices is that internally, they're structured as Stereo-A, Stereo-B, etc. Audacity will only see one of the stereo pairs.

If you can manage the proper drivers, then Audacity will easily handle 6 (5.1). One of our catchphrases is that Audacity is a complete slave to the machine on which it's running.

The older Audacities have no idea what AC3 is, so you'll have to break it down in some software package. You should dig in the specs for Audacity 1.3. That one supports many more formats and configurations.

As for posting off-topic? We'll have you flogged later.

Koz