#include "ltmm.h"
C Syntax |
HRESULT IltmmDVDControl_put_CurrentAudioStream(pDVD, newVal) |
C++ Syntax |
HRESULT put_CurrentAudioStream(pDVD, newVal) |
IltmmDVDControl *pDVD; |
pointer to an interface |
long newVal; |
stream |
Sets the specified stream as the current audio stream .
Parameter |
Description |
pDVD |
Pointer to an IltmmDVDControl interface. |
newVal |
Number of the audio stream to set as the current stream. Possible values range from 0 to 7. |
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 IltmmDVDControl::get_CurrentAudioStream to retrieve the current audio stream.
To retrieve the number of available audio streams, call IltmmDVDControl::get_AudioStreamsAvailable.
This function does not support command synchronization.
For more detailed information, refer to the Microsoft documentation for IDvdControl2::SelectAudioStream.
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. |
Win32, x64
For a C example, refer to IltmmDVDControl::GetButtonAtPosition Example for C.
For a C++ example, refer to IltmmDVDControl::GetButtonAtPosition Example for C++.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET