|
ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference
|
IOBDMedia |
| Inherits from: | |
| Declared In: |
The IOBDMedia class is a random-access disk device abstraction for BDs.
The IOBDMedia class is a random-access disk device abstraction for BDs.
getSpeed |
public
virtual IOReturn getSpeed( UInt16 *kilobytesPerSecond);
kilobytesPerSecondReturns the current speed used for data transfers, in kB/s.
kBDSpeedMin specifies the minimum speed for all BD media (1X). kBDSpeedMax specifies the maximum speed supported in hardware.
Returns the status of the operation.
Get the current speed used for data transfers.
readDiscInfo |
public
virtual IOReturn readDiscInfo( IOMemoryDescriptor *buffer, UInt8 type, UInt16 *actualByteCount );
bufferBuffer for the data transfer. The size of the buffer implies the size of the data transfer.
typeReserved for future use. Set to zero.
actualByteCountReturns the actual number of bytes transferred in the data transfer.
Returns the status of the data transfer.
Issue an MMC READ DISC INFORMATION command.
readStructure |
public
virtual IOReturn readStructure( IOMemoryDescriptor *buffer, UInt8 format, UInt32 address, UInt8 layer, UInt8 grantID );
bufferBuffer for the data transfer. The size of the buffer implies the size of the data transfer.
formatAs documented by MMC.
addressAs documented by MMC.
layerAs documented by MMC.
grantIDAs documented by MMC.
Returns the status of the data transfer.
Issue an MMC READ DISC STRUCTURE command.
readTrackInfo |
public
virtual IOReturn readTrackInfo( IOMemoryDescriptor *buffer, UInt32 address, UInt8 addressType, UInt8 open, UInt16 *actualByteCount );
bufferBuffer for the data transfer. The size of the buffer implies the size of the data transfer.
addressAs documented by MMC.
addressTypeAs documented by MMC.
openReserved for future use. Set to zero.
actualByteCountReturns the actual number of bytes transferred in the data transfer.
Returns the status of the data transfer.
Issue an MMC READ TRACK INFORMATION command.
reportKey |
public
virtual IOReturn reportKey( IOMemoryDescriptor *buffer, UInt8 keyClass, UInt32 address, UInt8 grantID, UInt8 format );
bufferBuffer for the data transfer. The size of the buffer implies the size of the data transfer.
keyClassAs documented by MMC.
addressAs documented by MMC.
grantIDAs documented by MMC.
formatAs documented by MMC.
Returns the status of the data transfer.
Issue an MMC REPORT KEY command.
sendKey |
public
virtual IOReturn sendKey( IOMemoryDescriptor *buffer, UInt8 keyClass, UInt8 grantID, UInt8 format );
bufferBuffer for the data transfer. The size of the buffer implies the size of the data transfer.
keyClassAs documented by MMC.
grantIDAs documented by MMC.
formatAs documented by MMC.
Returns the status of the data transfer.
Issue an MMC SEND KEY command.
setSpeed |
public
virtual IOReturn setSpeed( UInt16 kilobytesPerSecond);
kilobytesPerSecondSpeed to be used for data transfers, in kB/s.
kBDSpeedMin specifies the minimum speed for all BD media (1X). kBDSpeedMax specifies the maximum speed supported in hardware.
Returns the status of the operation.
Set the speed to be used for data transfers.
splitTrack |
public
virtual IOReturn splitTrack( UInt32 address);
addressAs documented by MMC.
Returns the status of the operation.
Issue an MMC RESERVE TRACK command with the ARSV bit.
|
Last Updated: 2008-12-19