ITIMEMediaPlayer::hasAudio Property

Internet Development Index

Retrieves a VARIANT_BOOL value that indicates whether the media contains audio.

Syntax

HRESULT ITIMEMediaPlayer::get_hasAudio(VARIANT_BOOL *b);

Parameters

b
Pointer to a variable of type VARIANT_BOOL that receives one of the values listed in Possible Values.

Possible Values

VARIANT_FALSEThe media does not contain audio.
VARIANT_TRUEThe media has audio.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This property is only relevant for people who are writing a custom player for HTML+TIME (Timed Interactive Multimedia Extensions).