×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Dual Audio Is it Possible?

Dual Audio Is it Possible?

Dual Audio Is it Possible?

(OP)
Hi..
This might sound abstract, but its for a new upcoming project, I was hoping I could get some help or guidelines to know if its possible at all.
I am in the process of developing an application that will run 2 windows with different multimedia contents. I want to be able to listen to the two windows sounds on 2 different speakers.
Is it possible? Can i Direct the sound to Left and right channel of the same audio card and have 2 speakers running? can i have 2 audio cards and have the application direct the audio output to one of them?
Is this feasible or heard of?
pl. let me know..
thanks
sid

RE: Dual Audio Is it Possible?

You can definitely use the win32 multimedia interface to play sounds to specific devices... this is a good way to play wave files, or anything you can render to .wav buffers.  Check out the documentation on the win32 multimedia api :

http://msdn.microsoft.com/library/default.asp?url=/libr...

...specifically the waveOutGetNumDevs function and the waveOutOpen function.

This works great for anything you can render to wav data, which you can do, for example, from direct show filter graphs.  If you need advanced DirectSound playback features, this might not be the solution for you.

-Dan

RE: Dual Audio Is it Possible?

Hi,

You can also look at DirectSound. With this lib you can pan (L/R) sound and select a device(soundcard) to load a sound to.

You can probably achieve the same in DirectMusic.

Pjotr

RE: Dual Audio Is it Possible?

It is possible.Usually it is due to your sound card

Nowadays,all of them can support dual sound output.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close