IltmmDVDTitle::get_SelectedAudioStream

Summary

Gets the selected audio stream index.

Syntax

#include "ltmm.h"

Language Syntax
C HRESULT IltmmDVDTitle_get_SelectedAudioStream(pDVDTitle, pVal)
C++ HRESULT get_SelectedAudioStream(pVal)

Parameters

IltmmDVDTitle *pDVDTitle

Pointer to an IltmmDVDTitle interface.

long *pVal

Pointer to a variable to be updated with the selected audio stream index.

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

This property will return an audio stream index that set using IltmmDVDTitle::put_SelectedAudioStream property. If there is no selected Audio stream, then the return value is -1. To get the audio streams counts that available in the current title, call IltmmDVDTitle::get_AudioStreamCount property.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

Language Example
C DVD Source
C++ DVD Source
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.