Break out track and disc routines. (Disc needs more work)
Add more convenience track routines. Set access-mode for image routines to be the image drivers - for uniformity. Some name regularization. And we're in 2005 now.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
$Id: bincue.c,v 1.3 2004/12/31 07:51:43 rocky Exp $
|
||||
$Id: bincue.c,v 1.4 2005/01/04 04:33:36 rocky Exp $
|
||||
|
||||
Copyright (C) 2002, 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||
Copyright (C) 2002, 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com>
|
||||
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
cue parsing routine adapted from cuetools
|
||||
Copyright (C) 2003 Svend Sanjay Sorensen <ssorensen@fastmail.fm>
|
||||
@@ -26,7 +26,7 @@
|
||||
(*.cue).
|
||||
*/
|
||||
|
||||
static const char _rcsid[] = "$Id: bincue.c,v 1.3 2004/12/31 07:51:43 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: bincue.c,v 1.4 2005/01/04 04:33:36 rocky Exp $";
|
||||
|
||||
#include "image.h"
|
||||
#include "cdio_assert.h"
|
||||
@@ -1185,6 +1185,7 @@ cdio_open_cue (const char *psz_cue_name)
|
||||
|
||||
_set_arg_image (_data, "cue", psz_cue_name);
|
||||
_set_arg_image (_data, "source", psz_bin_name);
|
||||
_set_arg_image (_data, "access-mode", "bincue");
|
||||
free(psz_bin_name);
|
||||
|
||||
if (_init_bincue(_data)) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
$Id: cdrdao.c,v 1.3 2004/12/31 07:51:43 rocky Exp $
|
||||
$Id: cdrdao.c,v 1.4 2005/01/04 04:33:36 rocky Exp $
|
||||
|
||||
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
||||
Copyright (C) 2004, 2005 Rocky Bernstein <rocky@panix.com>
|
||||
toc reading routine adapted from cuetools
|
||||
Copyright (C) 2003 Svend Sanjay Sorensen <ssorensen@fastmail.fm>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
(*.cue).
|
||||
*/
|
||||
|
||||
static const char _rcsid[] = "$Id: cdrdao.c,v 1.3 2004/12/31 07:51:43 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: cdrdao.c,v 1.4 2005/01/04 04:33:36 rocky Exp $";
|
||||
|
||||
#include "image.h"
|
||||
#include "cdio_assert.h"
|
||||
@@ -1170,6 +1170,7 @@ cdio_open_cdrdao (const char *psz_cue_name)
|
||||
|
||||
_set_arg_image (_data, "cue", psz_cue_name);
|
||||
_set_arg_image (_data, "source", psz_cue_name);
|
||||
_set_arg_image (_data, "access-mode", "cdrdao");
|
||||
|
||||
if (_init_cdrdao(_data)) {
|
||||
return ret;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: nrg.c,v 1.4 2005/01/01 14:55:58 rocky Exp $
|
||||
$Id: nrg.c,v 1.5 2005/01/04 04:33:36 rocky Exp $
|
||||
|
||||
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||
Copyright (C) 2001, 2003 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
@@ -46,7 +46,7 @@
|
||||
#include "_cdio_stdio.h"
|
||||
#include "nrg.h"
|
||||
|
||||
static const char _rcsid[] = "$Id: nrg.c,v 1.4 2005/01/01 14:55:58 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: nrg.c,v 1.5 2005/01/04 04:33:36 rocky Exp $";
|
||||
|
||||
|
||||
/* reader */
|
||||
@@ -1252,6 +1252,7 @@ cdio_open_nrg (const char *psz_source)
|
||||
|
||||
_set_arg_image(_data, "source", (NULL == psz_source)
|
||||
? DEFAULT_CDIO_DEVICE: psz_source);
|
||||
_set_arg_image (_data, "access-mode", "Nero");
|
||||
|
||||
_data->psz_cue_name = strdup(_get_arg_image(_data, "source"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user