cdparanoia: add ability to disable byte swapping
configure.ac: remove AIX driver for now - it doesn't really work remove some (but not all) of the valgrind errors in cd-text Some stylistic things, doxygen comment improvements typos, etc.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: cd_types.h,v 1.11 2004/06/23 09:28:02 rocky Exp $
|
||||
$Id: cd_types.h,v 1.12 2005/01/27 03:10:06 rocky Exp $
|
||||
|
||||
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
|
||||
Copyright (C) 1996,1997,1998 Gerd Knorr <kraxel@bytesex.org>
|
||||
@@ -136,7 +136,7 @@ typedef struct
|
||||
* have at track track_num. Return information about the CD image
|
||||
* is returned in iso_analysis and the return value.
|
||||
*/
|
||||
cdio_fs_anal_t cdio_guess_cd_type(const CdIo *cdio, int start_session,
|
||||
cdio_fs_anal_t cdio_guess_cd_type(const CdIo_t *cdio, int start_session,
|
||||
track_t track_num,
|
||||
/*out*/ cdio_iso_analysis_t *iso_analysis);
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: cdda.h,v 1.12 2005/01/26 01:21:29 rocky Exp $
|
||||
$Id: cdda.h,v 1.13 2005/01/27 03:10:06 rocky Exp $
|
||||
|
||||
Copyright (C) 2004, 2005 Rocky Bernstein <rocky@panix.com>
|
||||
Copyright (C) 2001 Xiph.org
|
||||
@@ -76,7 +76,15 @@ struct cdrom_drive_s {
|
||||
*/
|
||||
int nsectors;
|
||||
|
||||
int cd_extra;
|
||||
int cd_extra; /**< -1 if we can't get multisession info, 0 if
|
||||
there is one session only or the multi-session
|
||||
LBA is less than or 100 (don't ask me why -- I
|
||||
don't know), and 1 if the multi-session lba is
|
||||
greater than 100. */
|
||||
|
||||
bool b_swap_bytes; /**< Swap bytes if Endian-ness of drive
|
||||
mismatches the endian-ness of the
|
||||
computer? */
|
||||
track_t tracks;
|
||||
TOC_t disc_toc[MAXTRK]; /**< info here starts origin 0 rather than the
|
||||
first track number (usually 1). So to take
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: cdtext.h,v 1.8 2004/09/05 13:03:46 rocky Exp $
|
||||
$Id: cdtext.h,v 1.9 2005/01/27 03:10:06 rocky Exp $
|
||||
|
||||
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
||||
adapted from cuetools
|
||||
@@ -74,13 +74,15 @@ extern "C" {
|
||||
/*! Free memory assocated with cdtext*/
|
||||
void cdtext_destroy (cdtext_t *cdtext);
|
||||
|
||||
/*! returns the string associated with the given field. NULL is
|
||||
/*! returns an allocated string associated with the given field. NULL is
|
||||
returned if key is CDTEXT_INVALID or the field is not set.
|
||||
|
||||
The user needs to free the string when done with it.
|
||||
|
||||
@see cdio_get_cdtext to retrieve the cdtext structure used as
|
||||
input here.
|
||||
*/
|
||||
const char *cdtext_get (cdtext_field_t key, const cdtext_t *cdtext);
|
||||
char *cdtext_get (cdtext_field_t key, const cdtext_t *cdtext);
|
||||
|
||||
/*!
|
||||
returns enum of keyword if key is a CD-Text keyword,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: paranoia.h,v 1.6 2005/01/26 01:21:29 rocky Exp $
|
||||
$Id: paranoia.h,v 1.7 2005/01/27 03:10:06 rocky Exp $
|
||||
|
||||
Copyright (C) 2004, 2005 Rocky Bernstein <rocky@panix.com>
|
||||
Copyright (C) 1998 Monty xiphmont@mit.edu
|
||||
@@ -29,6 +29,10 @@
|
||||
|
||||
#include <cdio/cdio.h>
|
||||
|
||||
/*! Paranoia likes to work with 16-bit numbers rather than
|
||||
(possibly byte-swapped) bytes. So there are this many
|
||||
16-bit numbers block (frame, or sector) read.
|
||||
*/
|
||||
#define CD_FRAMEWORDS (CDIO_CD_FRAMESIZE_RAW/2)
|
||||
|
||||
/**! Flags used in paranoia_modeset. */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* -*- c -*-
|
||||
$Id: track.h,v 1.4 2005/01/04 10:58:03 rocky Exp $
|
||||
$Id: track.h,v 1.5 2005/01/27 03:10:06 rocky Exp $
|
||||
|
||||
Copyright (C) 2005 Rocky Bernstein <rocky@panix.com>
|
||||
|
||||
@@ -84,7 +84,7 @@ extern "C" {
|
||||
If i_track is 0 or CDIO_CDROM_LEADOUT_TRACK the track returned
|
||||
is the information assocated with the CD.
|
||||
*/
|
||||
const cdtext_t *cdio_get_cdtext (CdIo_t *p_cdio, track_t i_track);
|
||||
cdtext_t *cdio_get_cdtext (CdIo_t *p_cdio, track_t i_track);
|
||||
|
||||
/*!
|
||||
Get the number of the first track.
|
||||
|
||||
Reference in New Issue
Block a user