void IltmmAudioInputs_get_Bass_Example (IltmmCapture* pCapture)
{
IltmmAudioInputs *pAudioInputs = NULL;
HRESULT hr = IltmmCapture_get_AudioInputs(pCapture, &pAudioInputs);
if (SUCCEEDED(hr) && pAudioInputs)
{
VARIANT_BOOL vrtMono, vrtLoudness;
double dTrebleRange, dBassRange, dMixLevel, dPan, dTreble, dBass;
IltmmAudioInputs_put_Mono(pAudioInputs, VARIANT_FALSE);
IltmmAudioInputs_put_MixLevel(pAudioInputs, 1.0);
IltmmAudioInputs_put_Pan(pAudioInputs, 0.0);
IltmmAudioInputs_put_Loudness(pAudioInputs, VARIANT_TRUE);
IltmmAudioInputs_get_TrebleRange(pAudioInputs, &dTrebleRange);
IltmmAudioInputs_put_Treble(pAudioInputs, dTrebleRange / 2.0);
IltmmAudioInputs_get_BassRange(pAudioInputs, &dBassRange);
IltmmAudioInputs_put_Bass(pAudioInputs, dBassRange / 2.0);
IltmmAudioInputs_get_Mono(pAudioInputs, &vrtMono);
IltmmAudioInputs_get_MixLevel(pAudioInputs, &dMixLevel);
IltmmAudioInputs_get_Pan(pAudioInputs, &dPan);
IltmmAudioInputs_get_Loudness(pAudioInputs, &vrtLoudness);
IltmmAudioInputs_get_Treble(pAudioInputs, &dTreble);
IltmmAudioInputs_get_Bass(pAudioInputs, &dBass);
IltmmAudioInputs_Release(pAudioInputs);
}
}
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