Specifies whether the audio type is currently selected.
#include "ltms.h"
| Language | Syntax |
|---|---|
| C | HRESULT IltmsAudioType_put_Selected(pAudioType, newVal) |
| C++ | HRESULT put_Selected(newVal) |
Pointer to an IltmsAudioType interface.
Flag that specifies whether the audio type is selected. VARIANT_TRUE will select the audio type. VARIANT_FALSE will deselect the audio type.
| 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. |
Win32, x64.
For a C++ example, refer to the Create or Replace Live Stream Example for C++.