Input Gain

hi all,

simple question, How i cann set the input gain with directsound? i habe make a program to capture sound, but i want to be able to set the input gain too.

Thanks in advice!!

Daniel

[233 byte] By [DanielMena] at [2007-12-24]
# 1

Please hel me!!

DanielMena at 2007-10-8 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...
# 2
Have you taken a look at the EffectsWaveReverb.InGain property?
PieterGermishuys at 2007-10-8 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...
# 3

I don't believe DirectSound provides this functionality, but you should be able to handle this through the multimedia APIs that provide access to audio mixer devices. I found this Ask Dr. GUI article that covers the topic in VB using Win32 calls, you should be able to convert it over to whatever language you are using:

http://msdn.microsoft.com/library/default.asp?url=/archive/en-us/dnaraskdr/html/askgui10162001.asp

RobertDunlop at 2007-10-8 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...
# 4
The DirectSound interfaces do not expose a method to control this... You can do it through the Win32 audio mixer APIs... And if you change it, then remember to put it back :)
WessamBahnassi at 2007-10-8 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...