void GetAudioBass(IltmmCapture *pCapture)
{
IltmmAudioInputs *pAudioInputs = NULL;
HRESULT hr = pCapture->get_AudioInputs(&pAudioInputs);
if (SUCCEEDED(hr) && pAudioInputs)
{
VARIANT_BOOL vrtMono, vrtLoudness;
double dTrebleRange, dBassRange, dMixLevel, dPan, dTreble, dBass;
pAudioInputs->put_Mono(VARIANT_FALSE);
pAudioInputs->put_MixLevel(1.0);
pAudioInputs->put_Pan(0.0);
pAudioInputs->put_Loudness(VARIANT_TRUE);
pAudioInputs->get_TrebleRange(&dTrebleRange);
pAudioInputs->put_Treble(dTrebleRange / 2.0);
pAudioInputs->get_BassRange(&dBassRange);
pAudioInputs->put_Bass(dBassRange / 2.0);
pAudioInputs->get_Mono(&vrtMono);
pAudioInputs->get_MixLevel(&dMixLevel);
pAudioInputs->get_Pan(&dPan);
pAudioInputs->get_Loudness(&vrtLoudness);
pAudioInputs->get_Treble(&dTreble);
pAudioInputs->get_Bass(&dBass);
pAudioInputs->Release();
}
}
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