00001 /***************************************************************************** 00002 * callback.h : Callbacks for CD digital audio input module 00003 ***************************************************************************** 00004 * Copyright (C) 2004 the VideoLAN team 00005 * $Id: callback.h 8606 2004-08-31 18:32:54Z rocky $ 00006 * 00007 * Authors: Rocky Bernstein <[email protected]> 00008 * 00009 * This program is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the License, or 00012 * (at your option) any later version. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; if not, write to the Free Software 00021 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. 00022 *****************************************************************************/ 00023 00024 #include <vlc/vlc.h> 00025 00026 /* 00027 Minimum, maximum and default number of blocks we allow on read. 00028 */ 00029 #define MIN_BLOCKS_PER_READ 1 00030 #define MAX_BLOCKS_PER_READ 25 00031 #define DEFAULT_BLOCKS_PER_READ 20 00032 00033 int CDDADebugCB ( vlc_object_t *p_this, const char *psz_name, 00034 vlc_value_t oldval, vlc_value_t val, 00035 void *p_data ); 00036 00037 int CDDBEnabledCB( vlc_object_t *p_this, const char *psz_name, 00038 vlc_value_t oldval, vlc_value_t val, 00039 void *p_data ); 00040 00041 00042 int CDTextEnabledCB( vlc_object_t *p_this, const char *psz_name, 00043 vlc_value_t oldval, vlc_value_t val, 00044 void *p_data ); 00045 00046 int CDTextPreferCB( vlc_object_t *p_this, const char *psz_name, 00047 vlc_value_t oldval, vlc_value_t val, 00048 void *p_data ); 00049 00050 int CDDANavModeCB( vlc_object_t *p_this, const char *psz_name, 00051 vlc_value_t oldval, vlc_value_t val, 00052 void *p_data ); 00053 00054 00055 int CDDABlocksPerReadCB ( vlc_object_t *p_this, const char *psz_name, 00056 vlc_value_t oldval, vlc_value_t val, 00057 void *p_data ); 00058