Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Directly controlling volume
#2
The simplest way is waveOutSetVolume. To have more control, probably should be used mixer... functions, but it is not easy. Also, you can find mixer ActiveX components on the Internet. Most of them aren't free.

Code:
Copy      Help
dll winmm.dll #waveOutSetVolume uDeviceID dwVolume
int l r
l=50000
r=50000
out waveOutSetVolume(0 r<<16|l)

bee


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)