ILMMixCapSrc::get_AudioDetectEnable

Summary

Retrieves the stream's audio detection state.

Syntax

#include "ilmmixcapsrc.h"
Platform Syntax
C HRESULT ILMMixCapSrc_get_AudioDetectEnable(pMixCapSrc, pVal)
C++ HRESULT get_AudioDetectEnable(pVal)

Parameters

ILMMixCapSrc * pMixCapSrc

Pointer to an ILMMixCapSrc interface.

VARIANT_BOOL *pVal

Pointer to a variable that receives the audio detection state. Possible values are:

Value Meaning
VARIANT_TRUE The audio detection is enabled.
VARIANT_FALSE The audio detection is disabled. This is the default value.

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

If enabled, then each stream will display a border with color and width, obtained by ILMMixCapSrc::get_AudioDetectBorderColor and ILMMixCapSrc::get_AudioDetectBorderWidth, if the ILMMixCapSrc::get_AudioDetectThreshold is exceeded.

To enable or disable the audio detection, call ILMMixCapSrc::put_AudioDetectEnable.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Help Version 23.0.2024.7.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.