Start to fill in cdio_get_preemphasis, cdio_get_copy_permit, and

cdio_get_channels. Internals reworked a little for this.
This commit is contained in:
rocky
2004-12-31 05:47:36 +00:00
parent c51a6ba67e
commit 74045586bd
12 changed files with 253 additions and 234 deletions

View File

@@ -1,5 +1,5 @@
/*
$Id: bincue.c,v 1.1 2004/12/18 17:29:32 rocky Exp $
$Id: bincue.c,v 1.2 2004/12/31 05:47:36 rocky Exp $
Copyright (C) 2002, 2003, 2004 Rocky Bernstein <rocky@panix.com>
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
@@ -26,7 +26,7 @@
(*.cue).
*/
static const char _rcsid[] = "$Id: bincue.c,v 1.1 2004/12/18 17:29:32 rocky Exp $";
static const char _rcsid[] = "$Id: bincue.c,v 1.2 2004/12/31 05:47:36 rocky Exp $";
#include "image.h"
#include "cdio_assert.h"
@@ -981,10 +981,12 @@ get_hwinfo_bincue ( const CdIo *p_cdio, /*out*/ cdio_hwinfo_t *hw_info)
CDIO_INVALID_TRACK is returned on error.
*/
static track_format_t
_get_track_format_bincue(void *user_data, track_t i_track)
_get_track_format_bincue(void *p_user_data, track_t i_track)
{
_img_private_t *p_env = user_data;
const _img_private_t *p_env = p_user_data;
if (!p_env->gen.init) return TRACK_FORMAT_ERROR;
if (i_track > p_env->gen.i_tracks || i_track == 0)
return TRACK_FORMAT_ERROR;