61
|
1
|
|
2 /* xmms - esound outputmkdir plugin
|
|
3 * Copyright (C) 1999 Galex Yen
|
|
4 *
|
|
5 * this program is free software
|
|
6 *
|
|
7 * Description:
|
|
8 * This program is an output plugin for xmms v0.9 or greater.
|
|
9 * The program uses the esound daemon to output audio in order
|
|
10 * to allow more than one program to play audio on the same
|
|
11 * device at the same time.
|
|
12 *
|
|
13 * Contains code Copyright (C) 1998-1999 Mikael Alm, Olle Hallnas,
|
|
14 * Thomas Nillson and 4Front Technologies
|
|
15 *
|
|
16 */
|
|
17
|
|
18 #include "esdout.h"
|
|
19
|
|
20 #include <glib.h>
|
|
21 #include <glib/gi18n.h>
|
|
22
|
|
23
|
|
24 OutputPlugin esd_op = {
|
|
25 NULL,
|
|
26 NULL,
|
|
27 NULL, /* Description */
|
|
28 esdout_init,
|
|
29 esdout_about,
|
|
30 esdout_configure,
|
|
31 esdout_get_volume,
|
|
32 esdout_set_volume,
|
|
33 esdout_open,
|
|
34 esdout_write,
|
|
35 esdout_close,
|
|
36 esdout_flush,
|
|
37 esdout_pause,
|
|
38 esdout_free,
|
|
39 esdout_playing,
|
|
40 esdout_get_output_time,
|
|
41 esdout_get_written_time,
|
|
42 };
|
|
43
|
|
44 OutputPlugin *
|
|
45 get_oplugin_info(void)
|
|
46 {
|
|
47 esd_op.description = g_strdup_printf(_("eSound Output Plugin"));
|
|
48 return &esd_op;
|
|
49 }
|