Movie Maker Timeline Control

GetMediaAudioStreamCount Method

Description

Get the count of audio stream in media file.

Syntax

Public Function GetMediaAudioStreamCount( _
   ByVal strMediaFile as string, _
  ) as float

 

Parameter

strMediaFile
   the path of video/audio file.


Return Value

    return the count of audio stream.

Example

Visual Basic Syntax
iAudioStreamCount= TimelineControl1.GetMediaAudioStreamCount(strMediaFile)