Playback to multiple soundcards

6615150facbaebe20d122016e364153b
0
radioboy 101 May 15, 2007 at 07:55

Hi there,
I haved searched all over for this but maybe one of you guys may be able to help me. I am looking for an example of how to get playback to multiple soundcards of mp3.
Ie one soundcard could be playing back one song and another audiocard may be playing back another song etc upto 4 audiocards..??
I think i may need to use directsound? any stears on this.
And would i need to use c++ to get to this..

I will be using delphi or vb6 to write the main program so may need to do a dll or an activex if i need to write the directsound part????? if i cant access directsound direct from these langauges.

Thanks for any help any of you may be able to offer…

Radioboy

5 Replies

Please log in or register to post a reply.

4e70f904a74bd2aa8773733b25b77d41
0
SigKILL 101 May 15, 2007 at 13:56

Have you tried google? One of the first hits are http://support.microsoft.com/kb/182799

46407cc1bdfbd2db4f6e8876d74f990a
0
Kenneth_Gorking 101 May 15, 2007 at 14:04

Any reason why you’re not just playing the mp3s to different channels? I am sure it would be easier.

As for the playback, you can’t just use DirectSound for this because it cannot decompres the mp3 files, it only plays raw data. You need either an external library like FMod (supports several languages, and 20 audio-formats), or you can use DirectShow, or you can use Ogg-Vorbis files instead which is open-sourced and the library is free for download.

46407cc1bdfbd2db4f6e8876d74f990a
0
Kenneth_Gorking 101 May 15, 2007 at 14:06

@SigKILL

Have you tried google? One of the first hits are http://support.microsoft.com/kb/182799

Seems to be wave-only…

4e70f904a74bd2aa8773733b25b77d41
0
SigKILL 101 May 15, 2007 at 15:15

IIRC the mci multimedia control supports any codec you have installed. I know for sure that it supports the mp3 format…

6615150facbaebe20d122016e364153b
0
radioboy 101 May 16, 2007 at 14:27

Thanks for the replys chaps.
I have tryed that microsoft before but it defaults back to card 1 one you hit an mp3 at it……

The delta 1010 is what i am playing with or 4 x soundblaster cards.

Direct show might want to be the avenue i take a look at.

The mci i dont no if it will route the mp3 to each sound card. Maybe one of you will no?

Thanks for the help thus far

Glen