comparison src/audacious/plugin.h @ 2437:62d8f9c05832 trunk

[svn] More input plugin API work
author iabervon
date Sun, 28 Jan 2007 21:08:08 -0800
parents f346d30bf5ab
children 8750a62abed8
comparison
equal deleted inserted replaced
2436:f346d30bf5ab 2437:62d8f9c05832
174 174
175 void (*set_eq) (gint on, gfloat preamp, gfloat * bands); 175 void (*set_eq) (gint on, gfloat preamp, gfloat * bands);
176 176
177 gint (*get_time) (InputPlayback * playback); 177 gint (*get_time) (InputPlayback * playback);
178 178
179 void (*get_volume) (gint * l, gint * r); 179 gint (*get_volume) (gint * l, gint * r);
180 void (*set_volume) (gint l, gint r); 180 gint (*set_volume) (gint l, gint r);
181 181
182 void (*cleanup) (void); 182 void (*cleanup) (void);
183 183
184 InputVisType (*get_vis_type) (void); 184 InputVisType (*get_vis_type) (void);
185 void (*add_vis_pcm) (gint time, AFormat fmt, gint nch, gint length, gpointer ptr); 185 void (*add_vis_pcm) (gint time, AFormat fmt, gint nch, gint length, gpointer ptr);
187 void (*set_info) (gchar * title, gint length, gint rate, gint freq, gint nch); 187 void (*set_info) (gchar * title, gint length, gint rate, gint freq, gint nch);
188 void (*set_info_text) (gchar * text); 188 void (*set_info_text) (gchar * text);
189 void (*get_song_info) (gchar * filename, gchar ** title, gint * length); 189 void (*get_song_info) (gchar * filename, gchar ** title, gint * length);
190 void (*file_info_box) (gchar * filename); 190 void (*file_info_box) (gchar * filename);
191 191
192 OutputPlugin *output; 192 OutputPlugin *output; /* deprecated */
193 193
194 /* Added in Audacious 1.1.0 */ 194 /* Added in Audacious 1.1.0 */
195 TitleInput *(*get_song_tuple) (gchar * filename); 195 TitleInput *(*get_song_tuple) (gchar * filename);
196 void (*set_song_tuple) (TitleInput * tuple); 196 void (*set_song_tuple) (TitleInput * tuple);
197 void (*set_status_buffering) (gboolean status); 197 void (*set_status_buffering) (gboolean status);