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., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
22 *****************************************************************************/
27 Minimum, maximum and default number of blocks we allow on read.
29 #define MIN_BLOCKS_PER_READ 1
30 #define MAX_BLOCKS_PER_READ 25
31 #define DEFAULT_BLOCKS_PER_READ 20
33 int CDDADebugCB ( vlc_object_t *p_this, const char *psz_name,
34 vlc_value_t oldval, vlc_value_t val,
37 int CDDBEnabledCB( vlc_object_t *p_this, const char *psz_name,
38 vlc_value_t oldval, vlc_value_t val,
42 int CDTextEnabledCB( vlc_object_t *p_this, const char *psz_name,
43 vlc_value_t oldval, vlc_value_t val,
46 int CDTextPreferCB( vlc_object_t *p_this, const char *psz_name,
47 vlc_value_t oldval, vlc_value_t val,
50 int CDDANavModeCB( vlc_object_t *p_this, const char *psz_name,
51 vlc_value_t oldval, vlc_value_t val,
55 int CDDABlocksPerReadCB ( vlc_object_t *p_this, const char *psz_name,
56 vlc_value_t oldval, vlc_value_t val,