# HG changeset patch # User nenolod # Date 1154582735 25200 # Node ID 4c5ceb777d60e422371d0370ab6f2aa78f3202ee # Parent cefd1ff614dd2ed6f3701259b8c3c9f664b02976 [svn] - override InputPlugin::set_info. diff -r cefd1ff614dd -r 4c5ceb777d60 ChangeLog --- a/ChangeLog Wed Aug 02 19:49:45 2006 -0700 +++ b/ChangeLog Wed Aug 02 22:25:35 2006 -0700 @@ -1,3 +1,12 @@ +2006-08-03 02:49:45 +0000 William Pitcock + revision [1854] + - finishing touches + + + Changes: Modified: + +3 -0 trunk/Plugins/Input/cue/cuesheet.c + + 2006-08-03 02:34:19 +0000 William Pitcock revision [1852] - fix a bug in the tuple builder diff -r cefd1ff614dd -r 4c5ceb777d60 Plugins/Input/cue/cuesheet.c --- a/Plugins/Input/cue/cuesheet.c Wed Aug 02 19:49:45 2006 -0700 +++ b/Plugins/Input/cue/cuesheet.c Wed Aug 02 22:25:35 2006 -0700 @@ -216,6 +216,11 @@ free_cue_info(); } +static void set_info_override(gchar * title, gint length, gint rate, gint freq, gint nch) +{ + cue_ip.set_info(playlist_position->title, length, rate, freq, nch); +} + static void play_cue_uri(gchar *uri) { gchar *path2 = g_strdup(uri + 6); @@ -238,6 +243,7 @@ if (real_ip != NULL) { + real_ip->set_info = set_info_override; real_ip->output = cue_ip.output; real_ip->play_file(cue_file); real_ip->seek(cue_tracks[track].index / 1000); /* XXX: seek doesn't use frames? strange... -nenolod */