02-14-2009, 10:31 PM
I've been trying to get this to work.
On a computer that has one sound card I can set mxcd.dwControlID=(some number) to control Volume and Mute on any one of the controls.
It all works just like I want.
On a second computer that has two sound cards this doesn't work. I can only get it to work when mxcd.dwControlID=1 and that only controls the Master channel.
My question: Is there something I need to do to specify sound cards?
There is quite a bit going on in the SetAudioVolume , may you could show a bit more uses and examples?
Like I've noticed by adjusting the channels I can get it to pan over to one side, but not the other...Any more on panning?
The volume seems logrithmic or something...what could be changed to make it a linear taper? so that 0.5 would be right in the middle 0.75 would be 3/4 of the way up...I don't really understand int vi=(v*0x4000)+(pow(v 4)*0xBFFF).
Thanks,
Jimmy Vig
On a computer that has one sound card I can set mxcd.dwControlID=(some number) to control Volume and Mute on any one of the controls.
It all works just like I want.
On a second computer that has two sound cards this doesn't work. I can only get it to work when mxcd.dwControlID=1 and that only controls the Master channel.
My question: Is there something I need to do to specify sound cards?
There is quite a bit going on in the SetAudioVolume , may you could show a bit more uses and examples?
Like I've noticed by adjusting the channels I can get it to pan over to one side, but not the other...Any more on panning?
The volume seems logrithmic or something...what could be changed to make it a linear taper? so that 0.5 would be right in the middle 0.75 would be 3/4 of the way up...I don't really understand int vi=(v*0x4000)+(pow(v 4)*0xBFFF).
Thanks,
Jimmy Vig