none of the drivers in the tree support CDIOCCAPABILITY or CDIOCPITCH..
remove the documentation so people won't get confused and think they are supported...
This commit is contained in:
parent
fd77bbb967
commit
2af90ee542
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254929
@ -113,69 +113,6 @@ read from the scsi inquiry commands, and should be the same as
|
|||||||
the information printed at boot.
|
the information printed at boot.
|
||||||
This structure is defined in the header file
|
This structure is defined in the header file
|
||||||
.In sys/disklabel.h .
|
.In sys/disklabel.h .
|
||||||
.It Dv CDIOCCAPABILITY
|
|
||||||
.Pq Li "struct ioc_capability"
|
|
||||||
Retrieve information from the drive on what features it supports.
|
|
||||||
The information is returned in the following structure:
|
|
||||||
.Bd -literal -offset indent
|
|
||||||
struct ioc_capability {
|
|
||||||
u_long play_function;
|
|
||||||
#define CDDOPLAYTRK 0x00000001
|
|
||||||
/* Can play tracks/index */
|
|
||||||
#define CDDOPLAYMSF 0x00000002
|
|
||||||
/* Can play msf to msf */
|
|
||||||
#define CDDOPLAYBLOCKS 0x00000004
|
|
||||||
/* Can play range of blocks */
|
|
||||||
#define CDDOPAUSE 0x00000100
|
|
||||||
/* Output can be paused */
|
|
||||||
#define CDDORESUME 0x00000200
|
|
||||||
/* Output can be resumed */
|
|
||||||
#define CDDORESET 0x00000400
|
|
||||||
/* Drive can be completely reset */
|
|
||||||
#define CDDOSTART 0x00000800
|
|
||||||
/* Audio can be started */
|
|
||||||
#define CDDOSTOP 0x00001000
|
|
||||||
/* Audio can be stopped */
|
|
||||||
#define CDDOPITCH 0x00002000
|
|
||||||
/* Audio pitch can be changed */
|
|
||||||
|
|
||||||
u_long routing_function;
|
|
||||||
#define CDREADVOLUME 0x00000001
|
|
||||||
/* Volume settings can be read */
|
|
||||||
#define CDSETVOLUME 0x00000002
|
|
||||||
/* Volume settings can be set */
|
|
||||||
#define CDSETMONO 0x00000100
|
|
||||||
/* Output can be set to mono */
|
|
||||||
#define CDSETSTEREO 0x00000200
|
|
||||||
/* Output can be set to stereo (def) */
|
|
||||||
#define CDSETLEFT 0x00000400
|
|
||||||
/* Output can be set to left only */
|
|
||||||
#define CDSETRIGHT 0x00000800
|
|
||||||
/* Output can be set to right only */
|
|
||||||
#define CDSETMUTE 0x00001000
|
|
||||||
/* Output can be muted */
|
|
||||||
#define CDSETPATCH 0x00008000
|
|
||||||
/* Direct routing control allowed */
|
|
||||||
|
|
||||||
u_long special_function;
|
|
||||||
#define CDDOEJECT 0x00000001
|
|
||||||
/* The tray can be opened */
|
|
||||||
#define CDDOCLOSE 0x00000002
|
|
||||||
/* The tray can be closed */
|
|
||||||
#define CDDOLOCK 0x00000004
|
|
||||||
/* The tray can be locked */
|
|
||||||
#define CDREADHEADER 0x00000100
|
|
||||||
/* Can read Table of Contents */
|
|
||||||
#define CDREADENTRIES 0x00000200
|
|
||||||
/* Can read TOC Entries */
|
|
||||||
#define CDREADSUBQ 0x00000200
|
|
||||||
/* Can read Subchannel info */
|
|
||||||
#define CDREADRW 0x00000400
|
|
||||||
/* Can read subcodes R-W */
|
|
||||||
#define CDHASDEBUG 0x00004000
|
|
||||||
/* The tray has dynamic debugging */
|
|
||||||
};
|
|
||||||
.Ed
|
|
||||||
.It Dv CDIOCPLAYTRACKS
|
.It Dv CDIOCPLAYTRACKS
|
||||||
.Pq Li "struct ioc_play_track"
|
.Pq Li "struct ioc_play_track"
|
||||||
Start audio playback given a track address and length.
|
Start audio playback given a track address and length.
|
||||||
@ -320,24 +257,6 @@ Eject the
|
|||||||
.It Dv CDIOCCLOSE
|
.It Dv CDIOCCLOSE
|
||||||
Tell the drive to close its door and load the media.
|
Tell the drive to close its door and load the media.
|
||||||
Not all drives support this feature.
|
Not all drives support this feature.
|
||||||
.It Dv CDIOCPITCH
|
|
||||||
.Pq Li "struct ioc_pitch"
|
|
||||||
For drives that support it, this command instructs the drive to play
|
|
||||||
the audio at a faster or slower rate than normal.
|
|
||||||
Values of
|
|
||||||
.Li speed
|
|
||||||
between -32767 and -1 result in slower playback; a zero value
|
|
||||||
indicates normal speed; and values from 1 to 32767 give faster
|
|
||||||
playback.
|
|
||||||
Drives with less than 16 bits of resolution will silently
|
|
||||||
ignore less-significant bits.
|
|
||||||
The structure is defined thusly:
|
|
||||||
.Bd -literal -offset indent
|
|
||||||
struct ioc_pitch
|
|
||||||
{
|
|
||||||
short speed;
|
|
||||||
};
|
|
||||||
.Ed
|
|
||||||
.El
|
.El
|
||||||
.Sh NOTES
|
.Sh NOTES
|
||||||
When a
|
When a
|
||||||
|
Loading…
Reference in New Issue
Block a user