]> git.sesse.net Git - vlc/blob - plugins/arts/arts.c
915b8f832d5fed2415e65dfaa3d52421ca923571
[vlc] / plugins / arts / arts.c
1 /*****************************************************************************
2  * arts.c : aRts module
3  *****************************************************************************
4  * Copyright (C) 2001 VideoLAN
5  *
6  * Authors: Emmanuel Blindauer <manu@agat.net>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  * 
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
21  *****************************************************************************/
22
23 /*****************************************************************************
24  * Preamble
25  *****************************************************************************/
26 #include <stdlib.h>                                      /* malloc(), free() */
27 #include <string.h>                                              /* strdup() */
28
29 #include <videolan/vlc.h>
30
31 /*****************************************************************************
32  * Capabilities defined in the other files.
33  *****************************************************************************/
34 void _M( aout_getfunctions )( function_list_t * p_function_list );
35
36 /*****************************************************************************
37  * Build configuration tree.
38  *****************************************************************************/
39 MODULE_CONFIG_START
40 MODULE_CONFIG_STOP
41
42 MODULE_INIT_START
43     SET_DESCRIPTION( _("aRts audio module") )
44     ADD_CAPABILITY( AOUT, 50 )
45     ADD_SHORTCUT( "arts" )
46 MODULE_INIT_STOP
47
48 MODULE_ACTIVATE_START
49     _M( aout_getfunctions )( &p_module->p_functions->aout );
50 MODULE_ACTIVATE_STOP
51
52 MODULE_DEACTIVATE_START
53 MODULE_DEACTIVATE_STOP
54