ILMMixCapSrcStream::put_AudioEnable

Summary

Enables or disables the stream's audio.

Syntax

#include "ilmmixcapsrc.h"
Platform Syntax
C HRESULT ILMMixCapSrcStream_put_AudioEnable(pixCapSrcStream, newVal)
C++ HRESULT put_AudioEnable(newVal)

Parameters

ILMMixCapSrcStream * pixCapSrcStream

Pointer to an ILMMixCapSrcStream interface.

VARIANT_BOOL newVal

Flag that indicates whether to enable or disable audio. Possible values are:

Value Meaning
VARIANT_TRUE Enable audio. This is the default value.
VARIANT_FALSE Disable audio.

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

To query whether the stream's audio is enabled or disabled, call ILMMixCapSrcStream::get_AudioEnable.

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.