Re: where do I start - multichannel multithreaded DirectX audio se

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance





"Chris P." wrote:

On Wed, 22 Oct 2008 02:16:01 -0700, Deandob wrote:

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]

Alessandro, Chris,
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
.



Relevant Pages

  • Re: where do I start - multichannel multithreaded DirectX audio se
    ... The soundcard is an onboard audio HD device, seen as a single device with 8 ... There are people doing similar things currently in DirectShow using my ... Audio Channel Shifter filter. ...
    (microsoft.public.win32.programmer.directx.audio)
  • Re: Need help - How to changing the pitch and reserving duration during MP3 playback using Direc
    ... > There is XFX DirectX Audio Plug-Ins that has 'PitchShift" Filter. ... As Chris says, this is non-trivial. ... Iain Downs (DirectShow MVP) ...
    (microsoft.public.win32.programmer.directx.audio)
  • Re: How to extract an audio track out of a video clip ?
    ... DirectShow is a format-agnostic foundation, while QT is a higher level layer ... you can add them as a separate video track or as Line-21 captions. ... Unless I know more about the format and what kind of control ... I meant you could use the SampleGrabber filter in the ...
    (microsoft.public.multimedia.directx.dshow.programming)
  • Re: Create ASF File Using XVID Codecs
    ... WM ASF writer DS filter property page only enumeres profiles with codecs. ... WM ASF writer support IWMWriterAdvanced2 interface. ... >> For this I think resonably to use DirectShow. ...
    (microsoft.public.windowsmedia.sdk)
  • Re: how to use the BDA tuner and filter for DTV broadcasting DVB-H T-DMB
    ... these days i read all the help and MSDN in DDKWindows SDKand DirectX SDK. ... i also install the win 2003 sp1 ddk i read the Europa sample i can follow it write tuner filter my own but i think Microsoft use BDA only support DVB and ATSC and media source only MPEG2 TS. ... do not compatible with directshow. ...
    (microsoft.public.win32.programmer.directx.video)