#include <libburn.h>
Collaboration diagram for burn_speed_descriptor:
There can be more than one such object per drive. So they are chained via .next and .prev , where NULL marks the end of the chain. This list is set up by burn_drive_scan() and gets updated by burn_drive_grab(). A copy may be obtained by burn_drive_get_speedlist() and disposed by burn_drive_free_speedlist(). For technical background info see SCSI specs MMC and SPC: mode page 2Ah (from SPC 5Ah MODE SENSE) , mmc3r10g.pdf , 6.3.11 Table 364 ACh GET PERFORMANCE, Type 03h , mmc5r03c.pdf , 6.8.5.3 Table 312
Definition at line 478 of file libburn.h.
Data Fields | |
int | source |
Where this info comes from : 0 = misc , 1 = mode page 2Ah , 2 = ACh GET PERFORMANCE. | |
int | profile_loaded |
The media type that was current at the time of report -2 = state unknown, -1 = no media was loaded , else see burn_disc_get_profile(). | |
char | profile_name [80] |
int | end_lba |
The attributed capacity of appropriate media in logical block units i.e. | |
int | write_speed |
Speed is given in 1000 bytes/s , 0 = invalid. | |
int | read_speed |
int | wrc |
Expert info from ACh GET PERFORMANCE and/or mode page 2Ah. | |
int | exact |
int | mrw |
burn_speed_descriptor * | prev |
List chaining. | |
burn_speed_descriptor * | next |
The media type that was current at the time of report -2 = state unknown, -1 = no media was loaded , else see burn_disc_get_profile().
char burn_speed_descriptor::profile_name[80] |
Speed is given in 1000 bytes/s , 0 = invalid.
The numbers are supposed to be usable with burn_drive_set_speed()