Specifies whether or not the ltmmCapture object uses the audio from the video device.
#include "ltmm.h"
Language | Syntax |
---|---|
C | HRESULT IltmmCapture_put_UseVideoDeviceAudio(pCapture, newVal) |
C++ | HRESULT put_UseVideoDeviceAudio(newVal) |
Pointer to an IltmmCapture interface.
Value that specifies whether or not the lttmCapture uses the audio in the video device. 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. |
Value | Meaning |
---|---|
S_OK | 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::get_UseVideoDeviceAudio to retrieve whether or not the audio from the video device is used.
The default value for this property is VARIANT_TRUE. It specifies whether the ltmmCapture object will use the audio from the video device, if no audio devices have been selected. For instance, DV devices contain both audio and video. Normally, if you select a DV device with no audio device, the toolkit will use the DV device's audio stream. However, if you set this property to VARIANT_FALSE, then no audio stream will be rendered. This helps build a slightly more efficient graph when processing video only from DV devices.
Win32, x64.
Language | Example |
---|---|
C | IltmmCapture::get_UseVideoDeviceAudio |
C++ | IltmmCapture::get_UseVideoDeviceAudio |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document