Wasabi ExpressPlay SDK for Embedded Systems  1.10
Functions
WSB_TrackInfo Class

Media track information access. More...

Functions

WSB_EXPORT const char * WSB_TrackInfo_GetContentId (WSB_TrackInfo *track_info)
 Gets the content ID for the specified track. More...
 
WSB_EXPORT WSB_UInt32 WSB_TrackInfo_GetTrackId (WSB_TrackInfo *track_info)
 Gets the track ID. More...
 
WSB_EXPORT WSB_Result WSB_TrackInfo_GetMediaInfo (WSB_TrackInfo *track_info, WSB_MediaInfo *media_info)
 Gets the media info for the specified track. More...
 
WSB_EXPORT void WSB_TrackInfo_Release (WSB_TrackInfo *track_info)
 Releases the specified WSB_TrackInfo object. More...
 

Detailed Description

Media track information access.

Function Documentation

WSB_EXPORT const char* WSB_TrackInfo_GetContentId ( WSB_TrackInfo track_info)

Gets the content ID for the specified track.

Note: This cannot be called after the WSB_MediaFile referencing the file containing the track has been released (via a call to WSB_MediaFile_Close).

Parameters
track_infoThe WSB_TrackInfo from which the content ID is obtained.
Returns
The content ID.
WSB_EXPORT WSB_Result WSB_TrackInfo_GetMediaInfo ( WSB_TrackInfo track_info,
WSB_MediaInfo media_info 
)

Gets the media info for the specified track.

Note: This cannot be called after the WSB_MediaFile referencing the file containing the track has been released (via a call to WSB_MediaFile_Close).

Parameters
track_infoThe WSB_TrackInfo from which the media info is obtained.
[out]media_infoThe media info for the track.
WSB_EXPORT WSB_UInt32 WSB_TrackInfo_GetTrackId ( WSB_TrackInfo track_info)

Gets the track ID.

Note: This cannot be called after the WSB_MediaFile referencing the file containing the track has been released (via a call to WSB_MediaFile_Close).

Parameters
track_infoThe WSB_TrackInfo from which the track ID is obtained.
Returns
The track ID.
WSB_EXPORT void WSB_TrackInfo_Release ( WSB_TrackInfo track_info)

Releases the specified WSB_TrackInfo object.

A WSB_TrackInfo must be released when it is no longer needed, by calling this method. Note: This method cannot be called after the WSB_MediaFile referencing the file containing the track has been released, so all WSB_TrackInfo objects representing tracks in the media file should be released prior to calling WSB_MediaFile_Close.

Parameters
track_infoThe WSB_TrackInfo to release.