Line | |
---|
1 | //roar.c: |
---|
2 | |
---|
3 | #include <roaraudio.h> |
---|
4 | |
---|
5 | //#include "xmms/i18n.h" |
---|
6 | #include <gtk/gtk.h> |
---|
7 | #include <stdio.h> |
---|
8 | #include <string.h> |
---|
9 | |
---|
10 | #include "xmms/plugin.h" |
---|
11 | #include "xmms/xmmsctrl.h" |
---|
12 | #include "xmms/dirbrowser.h" |
---|
13 | #include "xmms/configfile.h" |
---|
14 | #include "xmms/util.h" |
---|
15 | |
---|
16 | void roar_init(void); |
---|
17 | void roar_about(void); |
---|
18 | void roar_configure(void); |
---|
19 | |
---|
20 | void roar_get_volume(int *l, int *r); |
---|
21 | void roar_fetch_volume(int *l, int *r); |
---|
22 | void roar_set_volume(int l, int r); |
---|
23 | void roar_mixer_init(void); |
---|
24 | void roar_mixer_init_vol(int l, int r); |
---|
25 | |
---|
26 | int roar_playing(void); |
---|
27 | int roar_free(void); |
---|
28 | void roar_write(void *ptr, int length); |
---|
29 | void roar_close(void); |
---|
30 | void roar_flush(int time); |
---|
31 | void roar_pause(short p); |
---|
32 | int roar_open(AFormat fmt, int rate, int nch); |
---|
33 | int roar_get_output_time(void); |
---|
34 | int roar_get_written_time(void); |
---|
35 | void roar_set_audio_params(void); |
---|
36 | |
---|
37 | |
---|
38 | OutputPlugin esd_op = |
---|
39 | { |
---|
40 | NULL, |
---|
41 | NULL, |
---|
42 | "RoarAudio XMMS Plugin", /* Description */ |
---|
43 | roar_init, |
---|
44 | roar_about, |
---|
45 | roar_configure, |
---|
46 | roar_get_volume, |
---|
47 | roar_set_volume, |
---|
48 | roar_open, |
---|
49 | roar_write, |
---|
50 | roar_close, |
---|
51 | roar_flush, |
---|
52 | roar_pause, |
---|
53 | roar_free, |
---|
54 | roar_playing, |
---|
55 | roar_get_output_time, |
---|
56 | roar_get_written_time, |
---|
57 | }; |
---|
58 | |
---|
59 | //ll |
---|
Note: See
TracBrowser
for help on using the repository browser.