changeset 251:0469aa4ae1ec trunk

[svn] - make pause do something. closes #636
author nenolod
date Fri, 17 Nov 2006 20:18:21 -0800
parents 1bded2e3d57b
children eef1490ef371
files ChangeLog src/cue/cuesheet.c
diffstat 2 files changed, 17 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Nov 15 12:04:06 2006 -0800
+++ b/ChangeLog	Fri Nov 17 20:18:21 2006 -0800
@@ -1,3 +1,12 @@
+2006-11-15 20:04:06 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [518]
+  - fix taglib stupidity. closes #633
+  
+  trunk/src/mpg123/fileinfo.c |    6 +++---
+  trunk/src/mpg123/mpg123.c   |    2 +-
+  2 files changed, 4 insertions(+), 4 deletions(-)
+
+
 2006-11-15 19:59:28 +0000  William Pitcock <nenolod@nenolod.net>
   revision [516]
   - don't save tags in unicode if chardet is enabled. bug and patch by zhllg, closes #632
--- a/src/cue/cuesheet.c	Wed Nov 15 12:04:06 2006 -0800
+++ b/src/cue/cuesheet.c	Fri Nov 17 20:18:21 2006 -0800
@@ -36,6 +36,7 @@
 static gint get_time(void);
 static void seek(gint time);
 static void stop(void);
+static void cue_pause(short);
 static TitleInput *get_tuple(gchar *uri);
 static TitleInput *get_tuple_uri(gchar *uri);
 static void get_song_info(gchar *uri, gchar **title, gint *length);
@@ -69,7 +70,7 @@
 	NULL,		/* audio cd */
 	play,
 	stop,
-	NULL,
+	cue_pause,
 	seek,
 	NULL,		/* set eq */
 	get_time,
@@ -245,6 +246,12 @@
 	}
 }
 
+static void cue_pause(short p)
+{
+	if (real_ip != NULL)
+		real_ip->pause(p);
+}
+
 static void set_info_override(gchar * unused, gint length, gint rate, gint freq, gint nch)
 {
 	gchar *title;