61
|
1 #ifndef __VORBIS_H__
|
|
2 #define __VORBIS_H__
|
|
3
|
|
4 #include <vorbis/vorbisfile.h>
|
|
5
|
|
6 #include "libaudacious/vfs.h"
|
|
7
|
|
8 extern ov_callbacks vorbis_callbacks;
|
|
9
|
|
10 void vorbis_configure(void);
|
|
11
|
|
12 void vorbis_file_info_box(char *filename);
|
|
13
|
|
14 char *convert_to_utf8(const char *string);
|
|
15 char *convert_from_utf8(const char *string);
|
|
16
|
|
17 typedef struct {
|
|
18 gint http_buffer_size;
|
|
19 gint http_prebuffer;
|
|
20 gboolean use_proxy;
|
|
21 gchar *proxy_host;
|
|
22 gint proxy_port;
|
|
23 gboolean proxy_use_auth;
|
|
24 gchar *proxy_user, *proxy_pass;
|
|
25 gboolean save_http_stream;
|
|
26 gchar *save_http_path;
|
|
27 gboolean tag_override;
|
|
28 gchar *tag_format;
|
|
29 gboolean use_anticlip;
|
|
30 gboolean use_replaygain;
|
|
31 gint replaygain_mode;
|
|
32 gboolean use_booster;
|
|
33 } vorbis_config_t;
|
|
34
|
|
35 enum {
|
|
36 REPLAYGAIN_MODE_TRACK,
|
|
37 REPLAYGAIN_MODE_ALBUM,
|
|
38 REPLAYGAIN_MODE_LAST
|
|
39 };
|
|
40
|
|
41 #endif /* __VORBIS_H__ */
|