ORCA-C/bin/Libraries/ORCACDefs/mediacontrol.h

1 line
12 KiB
C
Raw Normal View History

/******************************************** * * Media Control Tool Set * * Copyright Apple Computer, Inc.1986-90 * All Rights Reserved * * Copyright 1992, Byte Works, Inc. * ********************************************/ #ifndef __TYPES__ #include <TYPES.h> #endif #ifndef __MEDIACONTROL__ #define __MEDIACONTROL__ /* Position unit types for MCGetPosition and other calls: */ #define mcInChapters 1 /* Position is measured in chapters */ #define mcInFrames 2 /* Position is measured in frames */ #define mcInTimes 3 /* Position is measured in hours,minutes,seconds,blocks */ /* Control values for MCControl: */ #define mcCInit 0x0001 /* Initialize player */ #define mcCEject 0x0002 /* Eject disc */ #define mcCVideoOn 0x0003 /* Turn video on */ #define mcCVideoOff 0x0004 /* Turn video off */ #define mcCDisplayOn 0x0005 /* Turn video position display on */ #define mcCDisplayOff 0x0006 /* Turn video position display off */ #define mcCBlankVideo 0x0007 /* Blank video for next MCSearchTo */ #define mcCDefaultCom 0x0008 /* Set default communications */ #define mcCLockDev 0x0009 /* Set the device to locked */ #define mcCUnLockDev 0x000A /* Unlock the device */ #define mcC8Data1Stop 0x0028 /* Set 8 - data 1 - stop bit */ #define mcC7Data1Stop 0x0029 /* Set 7 - data 1 - stop bit */ #define mcC6Data1Stop 0x002A /* Set 6 - data 1 - stop bit */ #define mcC5Data1Stop 0x002B /* Set 5 - data 1 - stop bit */ #define mcC8Data2Stop 0x002C /* Set 8 - data 2 - stop bit */ #define mcC7Data2Stop 0x002D /* Set 7 - data 2 - stop bit */ #define mcC6Data2Stop 0x002E /* Set 6 - data 2 - stop bit */ #define mcC5Data2Stop 0x002F /* Set 5 - data 2 - stop bit */ #define mcCBaudDflt 0x0032 /* Set baud rate to control panel setting */ #define mcCBaud50 0x0033 /* Set 50 baud */ #define mcCBaud75 0x0034 /* Set 75 baud */ #define mcCBaud110 0x0035 /* Set 110 baud */ #define mcCBaud134 0x0036 /* Set 134 baud */ #define mcCBaud150 0x0037 /* Set 150 baud */ #define mcCBaud300 0x0038 /* Set 300 baud */ #define mcCBaud600 0x0039 /* Set 600 baud */ #define mcCBaud1200 0x003A /* Set 1200 baud */ #define mcCBaud1800 0x003B /* Set 1800 baud */ #define mcCBaud2400 0x003C /* Set 2400 baud */ #define mcCBaud3600 0x003D /* Set 3600 baud */ #define mcCBaud4800 0x003E /* Set 4800 baud */ #define mcCBaud7200 0x003F /* Set 7200 baud */ #define mcCBaud9600 0x0040 /* Set 9600 baud */ #define mcCBaud19200 0x0041 /* Set 19200 baud */ #define mcCModem 0x0064 /* Set to modem port */ #define mcCPrinter 0x0065 /* Set to printer port */ #define mcCIgnoreDS 0x00C8 /* Ignore "disk switched" GSOS errors */ #define mcCReportDS 0x00C9 /* Report "disk switched" GSOS errors */ /* Values for MCGetFeatures: */ #define mcFTypes 0 /* How the disc is organized (frames, chapters, etc.) */ #define mcFStep 1 /* Maximum fps speed value (normal is 255) */ #define mcFRecord 2 /* Device supports MCRecord */ #define mcFVideo 3 /* Device supports toggling video */ #define mcFEject 4 /* Device supports ejecting medium */ #define mcFLock 5 /* Device supports user lock (locking user from physically operating the device) */ #define mcFVDisplay 6 /* Device supports video display of location */ #define mcFVOverlay 7 /* No. of lines of overlay characters device supports */ #define mcFVOChars 8 /* No. of chars/line supported by overlay */ #define mcFVolume 9 /* Does