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 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?
probably - get volumn befor it, and reset it on exit
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler
>> 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.
Nevermind, I've got OpenAL working better than ever, don't need to deal with this junk now.