12-08-2009, 09:09 AM
Gint,
I was able to set using this in the SetAudioVolume function:
It only lets you change options for the playback section on what ever sound card is set as the default device.
I now need to change options on the record section of the sound card! Any ideas how this can be done.
Thanks,
Jimmy Vig
I was able to set using this in the SetAudioVolume function:
MIXERCONTROLDETAILS mxcd.cbStruct=sizeof(mxcd)
mxcd.dwControlID=18;;change around for right Mixer Slider or mute checkbox.
mxcd.cChannels=1
mxcd.cbDetails=sizeof(int)
mxcd.paDetails=&vi;;0 will unmute and 1 will mute checkbox
if(mixerSetControlDetails(0 &mxcd MIXER_OBJECTF_MIXER|MIXER_SETCONTROLDETAILSF_VALUE)) retIt only lets you change options for the playback section on what ever sound card is set as the default device.
I now need to change options on the record section of the sound card! Any ideas how this can be done.
Thanks,
Jimmy Vig
