IMFMediaEngine::HasAudio method

Queries whether the current media resource contains an audio stream.

Syntax


BOOL HasAudio();

Parameters

This method has no parameters.

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

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

Mfmediaengine.h

See also

IMFMediaEngine

 

 

Show: