Re: where do I start - multichannel multithreaded DirectX audio se
- From: Deandob <Deandob@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 22 Oct 2008 13:47:01 -0700
"Chris P." wrote:
On Wed, 22 Oct 2008 02:16:01 -0700, Deandob wrote:Alessandro, Chris,
The files are local to the server process, the clients send the server the
file name and the server then locates the file locally and plays.
The soundcard is an onboard audio HD device, seen as a single device with 8
channels (which can be addressed through the WAVEFORMATEXTENSIBLE structure,
so I think this limits me to DirectShow).
There are people doing similar things currently in DirectShow using my
Audio Channel Shifter filter (see link in sig). I believe at least 1
person is using it in .NET via the DirectShow.NET library. The purpose of
the filter is to take care of setting the channel mask in the
WAVEFORMATEXTENSIBLE structure directing the output to a given stereo pair
of the multichannel device.
To use it just insert the filter appropriately named, "AudioChannelShifter
Filter 3-4" (etc) into a new graph and then render the file as normal with
IGraphBuilder::RenderFile(). Tested with MP3, WMA and WAV files.
Only prerequisite is to set the speaker configuration in Windows.
--
http://www.chrisnet.net/code.htm
[MS MVP for DirectShow / MediaFoundation]
Great tips to get me started. I'll do some more research.
I have also downloaded the BASS managed libraries and built a quick proof of
concept, and it seems to do what I need pretty simply (except for the
annoying splash screen).
Regards,
Dean
.
- Follow-Ups:
- References:
- where do I start - multichannel multithreaded DirectX audio server
- From: Deandob
- Re: where do I start - multichannel multithreaded DirectX audio server
- From: Alessandro Angeli
- Re: where do I start - multichannel multithreaded DirectX audio se
- From: Deandob
- Re: where do I start - multichannel multithreaded DirectX audio se
- From: Chris P.
- where do I start - multichannel multithreaded DirectX audio server
- Prev by Date: Re: where do I start - multichannel multithreaded DirectX audio se
- Next by Date: Re: where do I start - multichannel multithreaded DirectX audio se
- Previous by thread: Re: where do I start - multichannel multithreaded DirectX audio se
- Next by thread: Re: where do I start - multichannel multithreaded DirectX audio se
- Index(es):
Relevant Pages
|