Mercurial > audlegacy-plugins
diff src/jack/jack.c @ 53:f6887767487c trunk
[svn] - import latest xmms-jack version 0.17 (mostly bio2jack fixes)
| author | giacomo |
|---|---|
| date | Mon, 25 Sep 2006 11:23:54 -0700 |
| parents | 3da1b8942b8b |
| children | d124034ebea3 |
line wrap: on
line diff
--- a/src/jack/jack.c Fri Sep 22 14:25:52 2006 -0700 +++ b/src/jack/jack.c Mon Sep 25 11:23:54 2006 -0700 @@ -1,7 +1,7 @@ /* xmms - jack output plugin * Copyright 2002 Chris Morgan<cmorgan@alum.wpi.edu> * - * audacious port (2005) by Giacomo Lozito from develia.org + * audacious port (2005-2006) by Giacomo Lozito from develia.org * * This code maps xmms calls into the jack translation library */ @@ -70,6 +70,7 @@ static GtkWidget *dialog, *button, *label; + void jack_set_volume(int l, int r); /* Giacomo's note: removed the destructor from the original xmms-jack, cause @@ -222,6 +223,7 @@ bmp_cfg_db_close(cfgfile); + TRACE("initializing\n"); JACK_Init(); /* initialize the driver */ @@ -584,13 +586,13 @@ void jack_about(void) { - static GtkWidget *aboutbox; + static GtkWidget *aboutbox = NULL; - if (!aboutbox) + if ( aboutbox == NULL ) { aboutbox = xmms_show_message( - _("About JACK Output Plugin 0.15"), - _("XMMS jack Driver 0.15\n\n" + _("About JACK Output Plugin 0.17"), + _("XMMS jack Driver 0.17\n\n" "xmms-jack.sf.net\nChris Morgan<cmorgan@alum.wpi.edu>\n\n" "Audacious port by\nGiacomo Lozito from develia.org"), _("Ok"), FALSE, NULL, NULL); @@ -611,7 +613,7 @@ { NULL, NULL, - "JACK Output Plugin 0.15", + "JACK Output Plugin 0.17", jack_init, jack_cleanup, jack_about,
