changeset 2056:1428a79d6706

remove improper use of output API
author William Pitcock <nenolod@atheme.org>
date Sat, 13 Oct 2007 21:06:30 -0500
parents 2f2ffbc2d04d
children cf4fa45ffd80
files src/alac/plugin.c
diffstat 1 files changed, 2 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/src/alac/plugin.c	Sat Oct 13 20:43:07 2007 -0500
+++ b/src/alac/plugin.c	Sat Oct 13 21:06:30 2007 -0500
@@ -64,19 +64,6 @@
 
 extern void set_endian();
 
-/*
-static gchar *
-extname(const char *filename)
-{
-    gchar *ext = strrchr(filename, '.');
-
-    if (ext != NULL)
-        ++ext;
-
-    return ext;
-}
-*/
-
 static void alac_about(void)
 {
 	static GtkWidget *aboutbox;
@@ -190,12 +177,12 @@
 {
     going = 0;
     g_thread_join(playback_thread);
-    output_close_audio();
+    data->output->close_audio();
 }
 
 static void do_pause(InputPlayback *data, short paused)
 {
-    output_pause(paused);
+    data->output->pause(paused);
 }
 
 static void seek(InputPlayback * data, gint time)