Revise audio subchannel structure to remove lba uniion since we don't

support returning LBA's inside the structure.

include/types.h: use cdio_config.h if none was supplied.
This commit is contained in:
rocky
2005-03-19 06:42:22 +00:00
parent 15ce91070e
commit a5161ab684
12 changed files with 84 additions and 79 deletions

View File

@@ -1,5 +1,5 @@
/* -*- c -*-
$Id: audio.h,v 1.8 2005/03/14 02:02:49 rocky Exp $
$Id: audio.h,v 1.9 2005/03/19 06:42:24 rocky Exp $
Copyright (C) 2005 Rocky Bernstein <rocky@panix.com>
@@ -36,14 +36,14 @@ extern "C" {
/*! This struct is used by the cdio_audio_read_subchannel */
typedef struct cdio_subchannel_s
{
uint8_t format;
uint8_t audio_status;
uint8_t address: 4;
uint8_t control: 4;
uint8_t track;
uint8_t index;
union cdio_cdrom_addr abs_addr;
union cdio_cdrom_addr rel_addr;
uint8_t format;
uint8_t audio_status;
uint8_t address: 4;
uint8_t control: 4;
uint8_t track;
uint8_t index;
msf_t abs_addr;
msf_t rel_addr;
} cdio_subchannel_t;
/*! This struct is used by cdio_audio_get_volume and cdio_audio_set_volume */