X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fjackrack%2Fjack_rack.h;h=7936a8b2e8c38ddf8e6e83a69ef1fb9c62b70c28;hb=5f48fd1ddbd803c132952ad90290b0fc78a36286;hp=e500e0ef2d7951d6b01e0c5d5e3a2251128bb0aa;hpb=b7241ba1f8be71fd66d670436db163957508eaab;p=melted diff --git a/src/modules/jackrack/jack_rack.h b/src/modules/jackrack/jack_rack.h index e500e0e..7936a8b 100644 --- a/src/modules/jackrack/jack_rack.h +++ b/src/modules/jackrack/jack_rack.h @@ -1,21 +1,26 @@ /* - * JACK Rack - * - * Copyright (C) Robert Ham 2002, 2003 (node@users.sourceforge.net) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * JACK Rack * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * Original: + * Copyright (C) Robert Ham 2002, 2003 (node@users.sourceforge.net) * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Modification for MLT: + * Copyright (C) 2004 Ushodaya Enterprises Limited + * Author: Dan Dennedy + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef __JR_JACK_RACK_H__ @@ -27,7 +32,7 @@ #include "plugin.h" #include "plugin_mgr.h" #include "plugin_settings.h" -#include "ui.h" +#include "process.h" typedef struct _saved_plugin saved_plugin_t; @@ -49,18 +54,16 @@ typedef struct _jack_rack jack_rack_t; struct _jack_rack { - struct _ui * ui; - + plugin_mgr_t * plugin_mgr; + process_info_t * procinfo; unsigned long channels; - GSList * saved_plugins; }; -jack_rack_t * jack_rack_new (struct _ui * ui, unsigned long channels); +jack_rack_t * jack_rack_new (const char * client_name, unsigned long channels); void jack_rack_destroy (jack_rack_t * jack_rack); -int jack_rack_open_file (struct _ui * ui, const char * filename); -void jack_rack_send_add_plugin (jack_rack_t * jack_rack, plugin_desc_t * plugin); +int jack_rack_open_file (jack_rack_t * jack_rack, const char * filename); void jack_rack_add_plugin (jack_rack_t * jack_rack, plugin_t * plugin); void jack_rack_add_saved_plugin (jack_rack_t * jack_rack, struct _saved_plugin * saved_plugin);