PrimoBurner(tm) for C++  4.6
CD, DVD and Blu-ray Software Development Kit
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
SpeedDescriptor Class Referenceabstract

Speed Descriptor. More...

#include <PrimoBurnerAPI.h>

Public Member Functions

virtual int32_t endDiscAddress () const =0
 Gets the end disc address for which a given reading/burning data rate can be supported. More...
 
virtual RotationControlType::Enum rotationControl () const =0
 Gets the type of the medium Rotation Control used. More...
 
virtual int transferRateKB () const =0
 Gets the transfer rate that corresponds to a given speed (in Kbytes). More...
 

Detailed Description

Speed Descriptor.

Member Function Documentation

virtual int32_t endDiscAddress ( ) const
pure virtual

Gets the end disc address for which a given reading/burning data rate can be supported.

This is currently always set to the medium capacity if a medium is mounted.

Returns
LBA
virtual RotationControlType::Enum rotationControl ( ) const
pure virtual

Gets the type of the medium Rotation Control used.

Returns
A constant from the RotationControlType enumeration.
virtual int transferRateKB ( ) const
pure virtual

Gets the transfer rate that corresponds to a given speed (in Kbytes).

To calculate the speed relative to 1x divide the result to Speed1xKB::CD for CD, Speed1xKB::DVD for DVD, or Speed1xKB::BD for Blu-ray.

Returns
transfer rate in KB (1 KB = 1000 bytes)