/*****************************************************************************
* cdda.h : CD-DA input module header for vlc using libcdio.
*****************************************************************************
- * Copyright (C) 2003 VideoLAN (Centrale Réseaux) and its contributors
+ * Copyright (C) 2003 the VideoLAN team
* $Id$
*
* Author: Rocky Bernstein <rocky@panix.com>
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-#include <vlc/input.h>
+#include <vlc_input.h>
+#include <vlc_access.h>
#include <cdio/cdio.h>
#include <cdio/cdtext.h>
#if LIBCDIO_VERSION_NUM >= 73
#include <cdio/mmc.h>
#endif
-#include "vlc_meta.h"
-#include "codecs.h"
+#include <vlc_meta.h>
+#include <vlc_codecs.h>
#ifdef HAVE_LIBCDDB
#include <cddb/cddb.h>
#if LIBCDIO_VERSION_NUM >= 72
#include <cdio/cdda.h>
+#include <cdio/paranoia.h>
#else
#define CdIo_t CdIo
#endif
+#if LIBCDIO_VERSION_NUM < 78
typedef enum {
- paranoia_none = 0, /* Note: We make use of 0 as being the same as false */
- paranoia_overlap = 1,
- paranoia_full = 2
+ PARANOIA_MODE_DISABLE = 0x00, /* Note: We make use of 0 as being the same as false */
+ PARANOIA_MODE_OVERLAP = 0x04,
+ PARANOIA_MODE_FULL = 0xff
} paranoia_mode_t;
-
+#endif
/*****************************************************************************
* cdda_data_t: CD audio information