# HG changeset patch # User William Pitcock # Date 1192327590 18000 # Node ID 1428a79d67060614ae5ef350f03bb0bbb9363d14 # Parent 2f2ffbc2d04d2955e4859ee133addb9b297686a9 remove improper use of output API diff -r 2f2ffbc2d04d -r 1428a79d6706 src/alac/plugin.c --- 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)