1 /*****************************************************************************
2 * callback.h : Callbacks for CD digital audio input module
3 *****************************************************************************
4 * Copyright (C) 2004 the VideoLAN team
7 * Authors: Rocky Bernstein <rocky@panix.com>
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.
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.
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 *****************************************************************************/
28 #include <vlc_common.h>
31 Minimum, maximum and default number of blocks we allow on read.
33 #define MIN_BLOCKS_PER_READ 1
34 #define MAX_BLOCKS_PER_READ 25
35 #define DEFAULT_BLOCKS_PER_READ 20
37 int CDDADebugCB ( vlc_object_t *p_this, const char *psz_name,
38 vlc_value_t oldval, vlc_value_t val,
41 int CDDBEnabledCB( vlc_object_t *p_this, const char *psz_name,
42 vlc_value_t oldval, vlc_value_t val,
46 int CDTextEnabledCB( vlc_object_t *p_this, const char *psz_name,
47 vlc_value_t oldval, vlc_value_t val,
50 int CDTextPreferCB( vlc_object_t *p_this, const char *psz_name,
51 vlc_value_t oldval, vlc_value_t val,
54 int CDDANavModeCB( vlc_object_t *p_this, const char *psz_name,
55 vlc_value_t oldval, vlc_value_t val,
59 int CDDABlocksPerReadCB ( vlc_object_t *p_this, const char *psz_name,
60 vlc_value_t oldval, vlc_value_t val,