IltmmDVDTitle::GetAudioStream

#include "ltmm.h"

C Syntax

HRESULT IltmmDVDTitle_getAudioStream(pDVDTitle, Index, pVal)

C++ Syntax

HRESULT GetAudioStream(Index, pVal)

IltmmDVDTitle *pDVDTitle;

pointer to an interface

long Index;

Index of the specified subpicture stream.

IltmmDVDAudioStream * * pVal;

Pointer to a pointer to an interface.

Gets a specific audio stream interface from the title .

Parameter

Description

pDVDTitle

Pointer to an IltmmDVDTitle interface.

Index

Index of the specified subpicture stream.

pVal

Pointer to a variable that receives the IltmmDVDAudioStream interface pointer for the audio stream at the specified zero-based index.

Returns

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 method will return the specified audio stream interface in the title. To get number of audio streams in the title, call IltmmDVDTitle::get_AudioStreamCount property.

Required DLLs and Libraries

LTMM

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

Platforms

Win32, x64

See Also

Functions:

IltmmDVDTitle::get_AudioStreamCount, IltmmDVDTitle::get_SelectedAudioStream, IltmmDVDTitle::put_SelectedAudioStream

Topics:

Multimedia Function Group

Example

For C example, refer to DVD Source Example.

For C++ example, refer to DVD Source for C++.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Multimedia C API Help