Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Windows Sound Mixer
#3
Gint,

I was able to set using this in the SetAudioVolume function:

Code:
Copy      Help
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)) ret

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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)