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);
}
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET