Mercurial > audlegacy-plugins
comparison src/madplug/plugin.h @ 773:22c82f3c0411 trunk
[svn] - reduce connection latency to http stream.
- remove unnecessary functions.
- remove redundant dialog which had been shown when madplug failed to open audio output.
- some cleanups.
| author | yaz |
|---|---|
| date | Fri, 02 Mar 2007 20:28:55 -0800 |
| parents | 1d3f70ac6b31 |
| children | 19e08e104ba6 |
comparison
equal
deleted
inserted
replaced
| 772:18dd1dd2d232 | 773:22c82f3c0411 |
|---|---|
| 121 gboolean title_override; | 121 gboolean title_override; |
| 122 gchar *id3_format; | 122 gchar *id3_format; |
| 123 gboolean show_avg_vbr_bitrate; | 123 gboolean show_avg_vbr_bitrate; |
| 124 }; | 124 }; |
| 125 | 125 |
| 126 // global variables | |
| 127 InputPlugin *mad_plugin; | |
| 128 struct audmad_config_t audmad_config; | |
| 129 | |
| 126 // gcond | 130 // gcond |
| 127 extern GMutex *mad_mutex; | 131 extern GMutex *mad_mutex; |
| 128 extern GMutex *pb_mutex; | 132 extern GMutex *pb_mutex; |
| 129 extern GCond *mad_cond; | 133 extern GCond *mad_cond; |
| 130 | 134 |
| 135 // prototypes | |
| 131 void audmad_config_compute(struct audmad_config_t *config); | 136 void audmad_config_compute(struct audmad_config_t *config); |
| 132 // compute scale values from "_db" strings | |
| 133 gboolean audmad_is_remote(gchar *url); | 137 gboolean audmad_is_remote(gchar *url); |
| 134 | 138 void input_process_remote_metadata(struct mad_info_t *info); |
| 135 extern gpointer decode_loop(gpointer arg); | 139 gpointer decode_loop(gpointer arg); |
| 136 extern void audmad_error(gchar * fmt, ...); | 140 void audmad_error(gchar * fmt, ...); |
| 137 extern void audmad_configure(); | 141 void audmad_configure(void); |
| 138 extern InputPlugin *mad_plugin; | |
| 139 extern struct audmad_config_t audmad_config; | |
| 140 | 142 |
| 141 #endif /* !AUD_MAD_H */ | 143 #endif /* !AUD_MAD_H */ |
