Re: Unsilencing Mute?
- Posted by Euman <euman at bellsouth.net> Jan 08, 2002
- 393 views
Maybe you could translate this to suit your needs.. UINT MaxDevs = waveOutGetNumDevs(); WAVEOUTCAPS woc; for (UINT DID = 0; DID < MaxDevs - 1; DID++) { MMRESULT res = waveOutGetDevCaps(DID, &woc, sizeof(AUXCAPS)); if ((res == MMSYSERR_NOERROR) && (woc.dwSupport & WAVECAPS_LRVOLUME)) break; } if (DID == MaxDevs - 1) DID = AUX_MAPPER; // MASTER VOLUME #define MLEFTVOL 0x1000 #define MRIGHTVOL 0x1000 auxSetVolume(DID, MAKELONG(MLEFTVOL, MRIGHTVOL)); // WAVE VOLUME #define WLEFTVOL 0x8000 #define WRIGHTVOL 0x8000 waveOutSetVolume((HWAVEOUT)DID, MAKELONG(WLEFTVOL, WRIGHTVOL)); Euman ----- Original Message ----- From: "C. K. Lester" <cklester at yahoo.com> > > > But this is why i pulled the sound card and disconnected the internal > > speaker,, and cut the traces to the modem beeper. > > Kat, you are such an extremist!