IMFMediaEngine::HasAudio method (mfmediaengine.h)

Queries whether the current media resource contains an audio stream.

Syntax

BOOL HasAudio();

Return value

Returns TRUE if the current media resource contains an audio stream. Returns FALSE if there is no media resource or the media resource does not contain an audio stream.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header mfmediaengine.h

See also

IMFMediaEngine