shaohao
02-15-2005, 04:21 AM
This one is for Paul:) I want to know whether it is possible to support CUE Sheet as a playlist format.
1. In a playlist plug-in, read a CUE sheet file and fill the TrackExtent for each track.
2. I think we should modify our input plug-in: In the function
int GetTrackExtents"(const char* medianame, TrackExtents *ext, int flags)
the play had better fill the "flags" to tell the plug-in the "TrackExtent *ext" of current track has been filled. Just skip calculate the track length then play it.
And the input plug-in should remember the ext->end, so we can stop playing when current track is finished.
That's All, then we can load a cue sheet file and break a whole album track into seperator tracks.
1. In a playlist plug-in, read a CUE sheet file and fill the TrackExtent for each track.
2. I think we should modify our input plug-in: In the function
int GetTrackExtents"(const char* medianame, TrackExtents *ext, int flags)
the play had better fill the "flags" to tell the plug-in the "TrackExtent *ext" of current track has been filled. Just skip calculate the track length then play it.
And the input plug-in should remember the ext->end, so we can stop playing when current track is finished.
That's All, then we can load a cue sheet file and break a whole album track into seperator tracks.