]> git.sesse.net Git - vlc/blob - modules/access/cdda/callback.h
a8528d4d5fa905f3c321b671da5ddee9b9a97a0c
[vlc] / modules / access / cdda / callback.h
1 /*****************************************************************************
2  * callback.h : Callbacks for CD digital audio input module
3  *****************************************************************************
4  * Copyright (C) 2004 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Rocky Bernstein <rocky@panix.com>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22  *****************************************************************************/
23
24 #ifdef HAVE_CONFIG_H
25 #   include "config.h"
26 #endif
27
28 #include <vlc/vlc.h>
29
30 /*
31    Minimum, maximum and default number of blocks we allow on read.
32 */
33 #define MIN_BLOCKS_PER_READ 1
34 #define MAX_BLOCKS_PER_READ 25
35 #define DEFAULT_BLOCKS_PER_READ 20
36
37 int  CDDADebugCB  ( vlc_object_t *p_this, const char *psz_name,
38                         vlc_value_t oldval, vlc_value_t val,
39                         void *p_data );
40
41 int  CDDBEnabledCB( vlc_object_t *p_this, const char *psz_name,
42                         vlc_value_t oldval, vlc_value_t val,
43                         void *p_data );
44
45
46 int  CDTextEnabledCB( vlc_object_t *p_this, const char *psz_name,
47               vlc_value_t oldval, vlc_value_t val,
48               void *p_data );
49
50 int  CDTextPreferCB( vlc_object_t *p_this, const char *psz_name,
51              vlc_value_t oldval, vlc_value_t val,
52              void *p_data );
53
54 int  CDDANavModeCB( vlc_object_t *p_this, const char *psz_name,
55             vlc_value_t oldval, vlc_value_t val,
56             void *p_data );
57
58
59 int CDDABlocksPerReadCB ( vlc_object_t *p_this, const char *psz_name,
60                   vlc_value_t oldval, vlc_value_t val,
61                   void *p_data );
62