Adaptec AHA-1520A Wartungshandbuch Seite 61

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 434
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 60
SunOS 5.5 Ioctl Requests cdio(7I)
The following values are valid for the audio status field returned
from READ SUBCHANNEL command:
CDROM_AUDIO_INVALID Audio status not supported
CDROM_AUDIO_PLAY Audio play operation in pro-
gress
CDROM_AUDIO_PAUSED Audio play operation paused
CDROM_AUDIO_COMPLETED Audio play successfully com-
pleted
CDROM_AUDIO_ERROR Audio play stopped due to error
CDROM_AUDIO_NO_STATUS No current audio status to
return
CDROMREADOFFSET
This ioctl() command returns the absolute CD-ROM address of the
first track in the last session of a Multi-Session CD-ROM. The third
argument of the ioctl() call is a pointer to an int.
CDROMCDDA SPARC: This ioctl() command returns the CD-DA data or the sub-
code data. The third argument of the ioctl() call is a pointer to the
type struct cdrom_cdda. In addition to allocating memory and
supplying its address, the caller needs to supply the starting
address of the data, the transfer length, and the subcode options.
The caller also needs to issue the CDROMREADTOCENTRY ioctl()
to find out which tracks containCD-DA data before issuingthis
ioctl().
/
Definition of CD-DA structure
/
struct cdrom_cdda {
unsigned int cdda_addr;
unsigned int cdda_length;
caddr_t cdda_data;
unsigned char cdda_subcode;
};
To get the subcode information related toCD-DA data, the follow-
ing values are appropriate for the cdda_subcode field:
CDROM_DA_NO_SUBCODE CD-DA data with no subcode
CDROM_DA_SUBQ CD-DA data with sub Q code
CDROM_DA_ALL_SUBCODE CD-DA data with all subcode
CDROM_DA_SUBCODE_ONLY All subcode only
modified 26 Jan 1995 7I-57
Seitenansicht 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 433 434

Kommentare zu diesen Handbüchern

Keine Kommentare