#include "ltmm.h"

C Syntax

HRESULT IltmmCapture_get_UseVideoDeviceAudio(pCapture, pVal)

C++ Syntax

HRESULT get_UseVideoDeviceAudio(pVal)

IltmmCapture * pCapture;

pointer to an interface


pointer to variable

Determines whether or not the audio in the video device is used.

Parameter Description
pCapture Pointer to an IltmmCapture interface.
pVal Pointer to a variable that receives a value indicating if the audio in the video device is used. Possible values are:
  Value Meaning
  VARIANT_FALSE The audio in the video device is not used.
  VARIANT_TRUE The audio in the video device is used.



The function ran successfully.

<> S_OK

An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.


Call IltmmCapture::put_UseVideoDeviceAudio to specify whether or not to use the audio from the video device.

Required DLLs and Libraries


For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.


Win32, x64

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

LEADTOOLS Multimedia C API Help