Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: Stop
*Next Topic: TimePlay

StreamSelect Method

Selects the media stream specified by the given stream number.

Syntax

MediaPlayer.StreamSelect( lStreamNum )

Parameters

StreamNum Long value indicating a stream number to select.

Return Value

No return value.

Remarks

Stream numbers are zero-based. Valid values for stream numbers range from zero to the value of the StreamCount property minus one.

Related streams are often grouped together. For example, a stream group could be made up of audio language tracks. Only one stream in a group can be selected at any one time. Selecting a stream in a group automatically deselects all other streams in that group.

See Also

GetStreamName, GetStreamSelected, StreamCount


Top of Page Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.