• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 330
  • Last Modified:

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 ?
0
Fifer74
Asked:
Fifer74
  • 2
1 Solution
 
CodedKCommented:
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.
0
 
CodedKCommented:
The component is called cbAudioPlay
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now