Jump to content


Playback to multiple soundcards


5 replies to this topic

#1 radioboy

    New Member

  • Members
  • Pip
  • 2 posts

Posted 15 May 2007 - 07:55 AM

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

#2 SigKILL

    Valued Member

  • Members
  • PipPipPip
  • 200 posts

Posted 15 May 2007 - 01:56 PM

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

#3 Kenneth Gorking

    Senior Member

  • Members
  • PipPipPipPip
  • 939 posts

Posted 15 May 2007 - 02:04 PM

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.
"Stupid bug! You go squish now!!" - Homer Simpson

#4 Kenneth Gorking

    Senior Member

  • Members
  • PipPipPipPip
  • 939 posts

Posted 15 May 2007 - 02:06 PM

SigKILL said:

Have you tried google? One of the first hits are http://support.microsoft.com/kb/182799
Seems to be wave-only...
"Stupid bug! You go squish now!!" - Homer Simpson

#5 SigKILL

    Valued Member

  • Members
  • PipPipPip
  • 200 posts

Posted 15 May 2007 - 03:15 PM

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

#6 radioboy

    New Member

  • Members
  • Pip
  • 2 posts

Posted 16 May 2007 - 02:27 PM

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





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users