annotate audacious/mainwin.h @ 653:97113126c7f9 trunk

[svn] - Fix mp3 detection properly. - Generate thumbnails for nextgen skins as well as WA2.x ones.
author nenolod
date Sun, 19 Feb 2006 18:20:51 -0800
parents 041bc95827be
children 12c47704b4b5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
1 /* BMP - Cross-platform multimedia player
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
2 * Copyright (C) 2003-2004 BMP development team.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
3 *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
4 * Based on XMMS:
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
5 * Copyright (C) 1998-2003 XMMS development team.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
6 *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
7 * This program is free software; you can redistribute it and/or modify
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
8 * it under the terms of the GNU General Public License as published by
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
9 * the Free Software Foundation; either version 2 of the License, or
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
10 * (at your option) any later version.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
11 *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
12 * This program is distributed in the hope that it will be useful,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
15 * GNU General Public License for more details.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
16 *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
17 * You should have received a copy of the GNU General Public License
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
18 * along with this program; if not, write to the Free Software
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
20 */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
21
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
22 #ifndef MAINWIN_H
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
23 #define MAINWIN_H
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
24
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
25 #include <gtk/gtk.h>
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
26
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
27 #include "number.h"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
28 #include "pbutton.h"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
29 #include "playstatus.h"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
30 #include "tbutton.h"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
31 #include "textbox.h"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
32 #include "svis.h"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
33 #include "vis.h"
197
ccd034857702 [svn] Split up generic events into audcore_generic_events(), and client-specific stuff remains in mainwin_idle_func().
nenolod
parents: 0
diff changeset
34 #include "hslider.h"
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
35
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
36 /* yes, main window size is fixed */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
37 #define MAINWIN_WIDTH (gint)275
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
38 #define MAINWIN_HEIGHT (gint)116
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
39 #define MAINWIN_TITLEBAR_HEIGHT (gint)14
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
40 #define MAINWIN_SHADED_HEIGHT MAINWIN_TITLEBAR_HEIGHT
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
41
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
42 #define MAINWIN_UPDATE_INTERVAL 10
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
43
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
44 #define MAINWIN_DEFAULT_POS_X 20
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
45 #define MAINWIN_DEFAULT_POS_Y 20
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
46
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
47 #define MAINWIN_DEFAULT_FONT "Sans Bold 9"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
48
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
49
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
50 typedef enum {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
51 TIMER_ELAPSED,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
52 TIMER_REMAINING
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
53 } TimerMode;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
54
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
55 enum {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
56 MAINWIN_GENERAL_ABOUT,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
57
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
58 MAINWIN_GENERAL_PLAYFILE,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
59 MAINWIN_GENERAL_PLAYLOCATION,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
60
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
61 MAINWIN_GENERAL_FILEINFO,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
62 MAINWIN_GENERAL_PREFS,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
63
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
64 MAINWIN_GENERAL_SHOWMWIN,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
65 MAINWIN_GENERAL_SHOWPLWIN,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
66
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
67 MAINWIN_GENERAL_FOCUSMWIN,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
68 MAINWIN_GENERAL_FOCUSPLWIN,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
69
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
70 MAINWIN_GENERAL_SHOWEQWIN,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
71 MAINWIN_GENERAL_PLAYCD,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
72 MAINWIN_GENERAL_EXIT,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
73
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
74 MAINWIN_GENERAL_ADDCD,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
75
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
76 MAINWIN_GENERAL_PREV,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
77 MAINWIN_GENERAL_PLAY,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
78 MAINWIN_GENERAL_PAUSE,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
79 MAINWIN_GENERAL_STOP,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
80 MAINWIN_GENERAL_NEXT,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
81 MAINWIN_GENERAL_STOPFADE,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
82 MAINWIN_GENERAL_BACK5SEC,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
83 MAINWIN_GENERAL_FWD5SEC,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
84 MAINWIN_GENERAL_START,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
85 MAINWIN_GENERAL_BACK10,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
86 MAINWIN_GENERAL_FWD10,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
87 MAINWIN_GENERAL_JTT,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
88 MAINWIN_GENERAL_JTF,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
89 MAINWIN_GENERAL_QUEUE,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
90 MAINWIN_GENERAL_CQUEUE,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
91 MAINWIN_GENERAL_VOLUP,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
92 MAINWIN_GENERAL_VOLDOWN
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
93 };
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
94
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
95 extern GtkWidget *mainwin;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
96 extern GdkGC *mainwin_gc;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
97
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
98 extern GtkAccelGroup *mainwin_accel;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
99
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
100 extern gboolean mainwin_moving;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
101 extern gboolean mainwin_focus;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
102
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
103 extern GtkWidget *mainwin_jtf;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
104
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
105 extern GtkItemFactory *mainwin_general_menu;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
106 extern GtkItemFactory *mainwin_vis_menu;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
107 extern GtkItemFactory *mainwin_play_menu, *mainwin_view_menu;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
108
197
ccd034857702 [svn] Split up generic events into audcore_generic_events(), and client-specific stuff remains in mainwin_idle_func().
nenolod
parents: 0
diff changeset
109 extern TextBox *mainwin_stime_min, *mainwin_stime_sec;
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
110 extern TextBox *mainwin_info;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
111 extern TButton *mainwin_shuffle, *mainwin_repeat, *mainwin_eq, *mainwin_pl;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
112
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
113 extern Vis *active_vis;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
114 extern Vis *mainwin_vis;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
115 extern SVis *mainwin_svis;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
116
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
117 extern PlayStatus *mainwin_playstatus;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
118
197
ccd034857702 [svn] Split up generic events into audcore_generic_events(), and client-specific stuff remains in mainwin_idle_func().
nenolod
parents: 0
diff changeset
119 extern Number *mainwin_minus_num, *mainwin_10min_num, *mainwin_min_num;
ccd034857702 [svn] Split up generic events into audcore_generic_events(), and client-specific stuff remains in mainwin_idle_func().
nenolod
parents: 0
diff changeset
120 extern Number *mainwin_10sec_num, *mainwin_sec_num;
ccd034857702 [svn] Split up generic events into audcore_generic_events(), and client-specific stuff remains in mainwin_idle_func().
nenolod
parents: 0
diff changeset
121
ccd034857702 [svn] Split up generic events into audcore_generic_events(), and client-specific stuff remains in mainwin_idle_func().
nenolod
parents: 0
diff changeset
122 extern HSlider *mainwin_sposition;
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
123
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
124 void mainwin_create(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
125 void read_volume(gint when);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
126 void play_medium(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
127 void add_medium(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
128
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
129 void draw_main_window(gboolean);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
130
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
131 void mainwin_quit_cb(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
132 void mainwin_lock_info_text(const gchar * text);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
133 void mainwin_release_info_text(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
134 void mainwin_play_pushed(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
135 void mainwin_stop_pushed(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
136 void mainwin_eject_pushed(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
137
433
041bc95827be [svn] Convert prev/next buttons to tristate, via create_pbutton_ex().
nenolod
parents: 331
diff changeset
138 void mainwin_rev_pushed(void);
041bc95827be [svn] Convert prev/next buttons to tristate, via create_pbutton_ex().
nenolod
parents: 331
diff changeset
139 void mainwin_rev_release(void);
041bc95827be [svn] Convert prev/next buttons to tristate, via create_pbutton_ex().
nenolod
parents: 331
diff changeset
140 void mainwin_fwd_pushed(void);
041bc95827be [svn] Convert prev/next buttons to tristate, via create_pbutton_ex().
nenolod
parents: 331
diff changeset
141 void mainwin_fwd_release(void);
041bc95827be [svn] Convert prev/next buttons to tristate, via create_pbutton_ex().
nenolod
parents: 331
diff changeset
142
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
143 void mainwin_set_back_pixmap(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
144
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
145 void mainwin_adjust_volume_motion(gint v);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
146 void mainwin_adjust_volume_release(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
147 void mainwin_adjust_balance_motion(gint b);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
148 void mainwin_adjust_balance_release(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
149 void mainwin_set_volume_slider(gint percent);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
150 void mainwin_set_balance_slider(gint percent);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
151
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
152 void mainwin_vis_set_type(VisType mode);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
153
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
154 void mainwin_set_info_text(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
155 void mainwin_set_song_info(gint rate, gint freq, gint nch);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
156 void mainwin_clear_song_info(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
157
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
158 void mainwin_set_always_on_top(gboolean always);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
159 void mainwin_set_volume_diff(gint diff);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
160 void mainwin_set_balance_diff(gint diff);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
161
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
162 void mainwin_show(gboolean);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
163 void mainwin_real_show(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
164 void mainwin_real_hide(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
165 void mainwin_move(gint x, gint y);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
166 void mainwin_shuffle_pushed(gboolean toggled);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
167 void mainwin_repeat_pushed(gboolean toggled);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
168 void mainwin_disable_seekbar(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
169 void mainwin_set_title(const gchar * text);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
170 void mainwin_show_add_url_window(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
171 void mainwin_minimize_cb(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
172 void mainwin_general_menu_callback(gpointer cb_data,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
173 guint action,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
174 GtkWidget * widget);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
175
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
176 void mainwin_attach_idle_func(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
177 void mainwin_drag_data_received(GtkWidget * widget,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
178 GdkDragContext * context,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
179 gint x,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
180 gint y,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
181 GtkSelectionData * selection_data,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
182 guint info,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
183 guint time,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
184 gpointer user_data);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
185
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
186 void mainwin_setup_menus(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
187
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
188 void mainwin_jump_to_file(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
189 void mainwin_jump_to_time(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
190
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
191 void mainwin_ewmh_activate(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
192
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
193 /* FIXME: placed here for now */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
194 void playback_get_sample_params(gint * bitrate,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
195 gint * frequency,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
196 gint * numchannels);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
197
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
198 #endif