Mercurial > audlegacy
comparison Plugins/Output/alsa/alsa.c @ 61:fa848bd484d8 trunk
[svn] Move plugins to Plugins/
author | nenolod |
---|---|
date | Fri, 28 Oct 2005 22:58:11 -0700 |
parents | |
children | 0b48662886e9 |
comparison
equal
deleted
inserted
replaced
60:1771f253e1b2 | 61:fa848bd484d8 |
---|---|
1 /* XMMS - ALSA output plugin | |
2 * Copyright (C) 2001 Matthieu Sozeau | |
3 * | |
4 * This program is free software; you can redistribute it and/or modify | |
5 * it under the terms of the GNU General Public License as published by | |
6 * the Free Software Foundation; either version 2 of the License, or | |
7 * (at your option) any later version. | |
8 * | |
9 * This program is distributed in the hope that it will be useful, | |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 * GNU General Public License for more details. | |
13 * | |
14 * You should have received a copy of the GNU General Public License | |
15 * along with this program; if not, write to the Free Software | |
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
17 */ | |
18 | |
19 #include "alsa.h" | |
20 #include <glib/gi18n.h> | |
21 | |
22 OutputPlugin alsa_op = { | |
23 NULL, | |
24 NULL, | |
25 NULL, | |
26 alsa_init, | |
27 alsa_about, | |
28 alsa_configure, | |
29 alsa_get_volume, | |
30 alsa_set_volume, | |
31 alsa_open, | |
32 alsa_write, | |
33 alsa_close, | |
34 alsa_flush, | |
35 alsa_pause, | |
36 alsa_free, | |
37 alsa_playing, | |
38 alsa_get_output_time, | |
39 alsa_get_written_time, | |
40 }; | |
41 | |
42 OutputPlugin * | |
43 get_oplugin_info(void) | |
44 { | |
45 alsa_op.description = | |
46 g_strdup_printf(_("ALSA %s output plugin"), VERSION); | |
47 return &alsa_op; | |
48 } |