void SetCaptureVolumeMuteBalance(IltmfCapture *pCapture)
{
VARIANT_BOOL vrtMute;
long lVol, lBalance;
// unmute it if currently muted
pCapture->get_Mute(&vrtMute);
if (vrtMute == VARIANT_TRUE)
pCapture->put_Mute(VARIANT_FALSE);
// adjust the volume
pCapture->get_Volume(&lVol);
if (lVol == 0)
pCapture->put_Volume(-10000);
// adjust the balance
pCapture->get_Balance(&lBalance);
if (lBalance != 0)
pCapture->put_Balance(0);
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document