/[gluid]/controller.h
ViewVC logotype

Contents of /controller.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations)
Fri Sep 25 18:47:59 2009 UTC (12 years, 2 months ago) by ben
File MIME type: text/plain
File size: 715 byte(s)
first commit, version 0.1 working (basic)
1 #ifndef CONTROLLER_H
2 #define CONTROLLER_H
3 #include <fluidsynth.h>
4 typedef struct {
5 fluid_settings_t* settings;
6 fluid_synth_t* synth;
7 fluid_audio_driver_t* adriver;
8 fluid_midi_driver_t* mdriver;
9 fluid_midi_router_t* router;
10 gchar* config_path;
11 GtkMenu* right_menu;
12 GtkStatusIcon* status_icon;
13 GtkWindow* pref_window;
14 GtkEntry* sfpath_entry;
15 GtkEntry* audio_entry;
16 GtkEntry* midi_entry;
17 gchar* sfpath;
18 gchar* audio;
19 gchar* midi;
20 } AppData;
21
22 void quit(AppData* d);
23 void read_config (AppData* d);
24 void write_config (AppData* d);
25 gboolean mpd_control (const gchar* ip, gint port, const gchar* ctl);
26 gint mpd_get_vol(const gchar *host, gint port);
27 gchar* mpd_get_song(const gchar *host, gint port);
28 #endif

  ViewVC Help
Powered by ViewVC 1.1.26