Mercurial > audlegacy-plugins
annotate src/esd/esd.c @ 3203:f5456241bff9 default tip
changed include path from audacious to audlegacy.
| author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
|---|---|
| date | Tue, 10 Nov 2009 05:19:25 +0900 |
| parents | 3355beb9105b |
| children |
| rev | line source |
|---|---|
| 1077 | 1 /* xmms - esound output plugin |
|
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
2 * Copyright (C) 1999 Galex Yen |
|
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
3 * |
|
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
4 * this program is free software |
|
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
5 * |
|
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
6 * Description: |
|
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
7 * This program is an output plugin for xmms v0.9 or greater. |
|
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
8 * The program uses the esound daemon to output audio in order |
|
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
9 * to allow more than one program to play audio on the same |
|
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
10 * device at the same time. |
|
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
11 * |
|
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
12 * Contains code Copyright (C) 1998-1999 Mikael Alm, Olle Hallnas, |
|
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
13 * Thomas Nillson and 4Front Technologies |
|
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
14 * |
|
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
15 */ |
|
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
16 |
|
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
17 #include "esdout.h" |
|
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
18 |
|
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
19 #include <glib.h> |
|
2971
3134a0987162
- changed include path from audacious to audlegacy.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
1627
diff
changeset
|
20 #include <audlegacy/i18n.h> |
|
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
21 |
|
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
22 |
|
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
23 OutputPlugin esd_op = { |
|
1627
abe9f63c4e8b
esd: C99 initialisers
William Pitcock <nenolod@atheme.org>
parents:
1395
diff
changeset
|
24 .description = "ESD Output Plugin", |
|
3096
3355beb9105b
Add probe priority of 2, this should go before low-level audio driver such as ALSA. Closes bug #35 by Petr P?sa?.
Tony Vroon <chainsaw@gentoo.org>
parents:
2971
diff
changeset
|
25 .probe_priority = 2, |
|
1627
abe9f63c4e8b
esd: C99 initialisers
William Pitcock <nenolod@atheme.org>
parents:
1395
diff
changeset
|
26 .init = esdout_init, |
|
abe9f63c4e8b
esd: C99 initialisers
William Pitcock <nenolod@atheme.org>
parents:
1395
diff
changeset
|
27 .about = esdout_about, |
|
abe9f63c4e8b
esd: C99 initialisers
William Pitcock <nenolod@atheme.org>
parents:
1395
diff
changeset
|
28 .configure = esdout_configure, |
|
abe9f63c4e8b
esd: C99 initialisers
William Pitcock <nenolod@atheme.org>
parents:
1395
diff
changeset
|
29 .get_volume = esdout_get_volume, |
|
abe9f63c4e8b
esd: C99 initialisers
William Pitcock <nenolod@atheme.org>
parents:
1395
diff
changeset
|
30 .set_volume = esdout_set_volume, |
|
abe9f63c4e8b
esd: C99 initialisers
William Pitcock <nenolod@atheme.org>
parents:
1395
diff
changeset
|
31 .open_audio = esdout_open, |
|
abe9f63c4e8b
esd: C99 initialisers
William Pitcock <nenolod@atheme.org>
parents:
1395
diff
changeset
|
32 .write_audio = esdout_write, |
|
abe9f63c4e8b
esd: C99 initialisers
William Pitcock <nenolod@atheme.org>
parents:
1395
diff
changeset
|
33 .close_audio = esdout_close, |
|
abe9f63c4e8b
esd: C99 initialisers
William Pitcock <nenolod@atheme.org>
parents:
1395
diff
changeset
|
34 .flush = esdout_flush, |
|
abe9f63c4e8b
esd: C99 initialisers
William Pitcock <nenolod@atheme.org>
parents:
1395
diff
changeset
|
35 .pause = esdout_pause, |
|
abe9f63c4e8b
esd: C99 initialisers
William Pitcock <nenolod@atheme.org>
parents:
1395
diff
changeset
|
36 .buffer_free = esdout_free, |
|
abe9f63c4e8b
esd: C99 initialisers
William Pitcock <nenolod@atheme.org>
parents:
1395
diff
changeset
|
37 .buffer_playing = esdout_playing, |
|
abe9f63c4e8b
esd: C99 initialisers
William Pitcock <nenolod@atheme.org>
parents:
1395
diff
changeset
|
38 .output_time = esdout_get_output_time, |
|
abe9f63c4e8b
esd: C99 initialisers
William Pitcock <nenolod@atheme.org>
parents:
1395
diff
changeset
|
39 .written_time = esdout_get_written_time, |
|
abe9f63c4e8b
esd: C99 initialisers
William Pitcock <nenolod@atheme.org>
parents:
1395
diff
changeset
|
40 .tell_audio = esdout_tell |
|
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
41 }; |
|
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
42 |
| 1077 | 43 OutputPlugin *esd_oplist[] = { &esd_op, NULL }; |
| 44 | |
|
1395
761e17b23e0c
added Discovery plugin type
Cristi Magherusan <majeru@atheme-project.org>
parents:
1077
diff
changeset
|
45 DECLARE_PLUGIN(esd, NULL, NULL, NULL, esd_oplist, NULL, NULL, NULL, NULL); |
