Link to home
Start Free TrialLog in
Avatar of Fifer74
Fifer74

asked on

Playing a wav file on multiple outputs (soundcards)

I need to be able to play a wav file over two sources i.e two soundcards that are installed on a single PC. I can get a list of devices on the system but cannot find anyway of playing the wav file to a specific device. Any ideas ?
Avatar of CodedK
CodedK
Flag of Greece image

Hi Fifer74

There is no way (XP or Vista) to change the playback (output) device.
As far as i know this cant be changed on a per-application basis.

Do you use sndPlaySound to play the mp3's?   Try to use DirectX.
There is a nice component with a demo app here :
http://www.carlosb.com/ctrl.php?fm=delphicomps
You can select output...

Hope this helps.
ASKER CERTIFIED SOLUTION
Avatar of CodedK
CodedK
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial