Playing a wav file on multiple outputs (soundcards)

Posted on 2008-11-10
Last Modified: 2012-05-05
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 ?
Question by:Fifer74
    LVL 16

    Expert Comment

    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 :
    You can select output...

    Hope this helps.
    LVL 16

    Accepted Solution

    The component is called cbAudioPlay

    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
    Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now