I can play waves just fine using waveOut functions, but when I call waveOutSetVolume, and pass it the playing wave-out-handle, it effects the master volume of the whole computer rather than just my playing sound. How do I fix this?
This is a discussion on waveOutSetVolume not working right! within the Windows Programming forums, part of the Platform Specific Boards category; I can play waves just fine using waveOut functions, but when I call waveOutSetVolume, and pass it the playing wave-out-handle, ...
I can play waves just fine using waveOut functions, but when I call waveOutSetVolume, and pass it the playing wave-out-handle, it effects the master volume of the whole computer rather than just my playing sound. How do I fix this?
I don't see why people think Chuck Norris is so awesome. If he was really as great as they say, he would be over here slamming my head into the keybsk;lah;flksalfksdnlcslcnsldk;acklsd;glfbaskfl
/* When I wrote this, only God and I understood what I was doing... Now, God only knows */
probably - get volumn befor it, and reset it on exit
If I have eight hours for cutting wood, I spend six sharpening my axe.
Or denormalize your wave prior to playing it.
Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.
>> probably - get volumn befor it, and reset it on exit
No can do, That would mess up any sounds playing in simultaneously with it.
>> Or denormalize your wave prior to playing it.
Thought of that, but being that I'm going to be playing this simultaneously and very often, that would hurt my CPU time, especially in a game.
I don't see why people think Chuck Norris is so awesome. If he was really as great as they say, he would be over here slamming my head into the keybsk;lah;flksalfksdnlcslcnsldk;acklsd;glfbaskfl
/* When I wrote this, only God and I understood what I was doing... Now, God only knows */
Nevermind, I've got OpenAL working better than ever, don't need to deal with this junk now.![]()
I don't see why people think Chuck Norris is so awesome. If he was really as great as they say, he would be over here slamming my head into the keybsk;lah;flksalfksdnlcslcnsldk;acklsd;glfbaskfl
/* When I wrote this, only God and I understood what I was doing... Now, God only knows */