Wasabi ExpressPlay SDK for Desktop Systems
1.10
|
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... | |
Media track information access.
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).
track_info | The WSB_TrackInfo from which the content ID is obtained. |
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).
track_info | The WSB_TrackInfo from which the media info is obtained. | |
[out] | media_info | The 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).
track_info | The WSB_TrackInfo from which the track ID is obtained. |
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.
track_info | The WSB_TrackInfo to release. |