How do i play 4 different audio tracks in 4 different Speakers?

Posted on 2009-02-18
Last Modified: 2012-06-21
I have a requirement to play 4 audio tracks in 4 different speakers/channels and dynamically adjust their volumes. It would be really helpful if you could suggest any such possible solutions.

C++/C# code would be ideal.
Thanks in advance!
Question by:gouthamd
    LVL 86

    Accepted Solution

    Take a look at ("Audio Mixer Functions Demo") which shows how to use the Windows Audio Mixer. That one hopefully helps.

    Author Comment

    Hi jkr,

    Thanks a lot for the reply! This looks like a really good option.  I see that we could control the master volume here. What i would really like to be doing is to control the volume of each speaker seperately. is that possible too?

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Suggested Solutions

    Title # Comments Views Activity mvc C# 2 27
    Need Regex Money No $ 5 43
    Query datatable in LINQ 6 25
    Put text in a picture ASP.NET C# 2 24
    Article by: SunnyDark
    This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
    Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
    The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
    The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

    779 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

    15 Experts available now in Live!

    Get 1:1 Help Now