ILMMixCapSrc::put_AudioDetectThreshold

Summary

Specifies the audio detection threshold level.

Syntax

#include "ilmmixcapsrc.h"
Platform Syntax
C HRESULT ILMMixCapSrc_put_AudioDetectThreshold(pMixCapSrc, newVal)
C++ HRESULT put_AudioDetectThreshold(newVal)

Parameters

ILMMixCapSrc * pMixCapSrc

Pointer to an ILMMixCapSrc interface.

DOUBLE newVal

Value that specifies the threshold level.

Returns

Value Meaning
S_OK The function was successful.
<> S_OK An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

When the output volume of an individual stream exceeds the specified threshold, the stream will display a border with color and width specified by ILMMixCapSrc::put_AudioDetectBorderColor and ILMMixCapSrc::put_AudioDetectBorderWidth.

This value is only used if the value of ILMMixCapSrc::put_AudioDetectEnable is set to VARIANT_TRUE.

To retrieve the audio detection threshold level, call ILMMixCapSrc::get_AudioDetectThreshold.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Help Version 23.0.2024.9.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Filters C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.