tags:

views:

36

answers:

1

How can I set the balance of a soundcard with c#.Net?

What would be the most common way? Do I need Interop?

A: 

You will first need a framework for working with your sound card. Managed Direct X. It includes Direct Sound, which will let you control your sound card with a comfortable level of abstraction.

You can find a tutorial on Managed Direct X here:

http://www.codeproject.com/KB/directx/mdx_tutorial1.aspx

sbenderli
directx is what I'm currently using in my app - would be a good solution to use it also therefore. unfortunately I cannot find a proper method that would set the soundlevel of a channel or the balance
Kai
Take a look at this: http://www.freevbcode.com/ShowCode.Asp?ID=1082#6
sbenderli
Also take a look at here: http://gpwiki.org/index.php/VBNET:DirectSoundSearch for "Pan". I think these should get you in the right direction
sbenderli
I don't want to control how sound is played. I'd like to control on what level the incoming sound (line-in) is.
Kai