xorriso  1.5.4.pl02
About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.
  Fossies Dox: xorriso-1.5.4.pl02.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

burn_speed_descriptor Struct Reference

#include <libburn.h>

Collaboration diagram for burn_speed_descriptor:
[legend]

Data Fields

int source
 
int profile_loaded
 
char profile_name [80]
 
int end_lba
 
int write_speed
 
int read_speed
 
int wrc
 
int exact
 
int mrw
 
struct burn_speed_descriptorprev
 
struct burn_speed_descriptornext
 

Detailed Description

Description of a speed capability as reported by the drive in conjunction with eventually loaded media. 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 724 of file libburn.h.

Field Documentation

◆ end_lba

int burn_speed_descriptor::end_lba

The attributed capacity of appropriate media in logical block units i.e. 2352 raw bytes or 2048 data bytes. -1 = capacity unknown.

Definition at line 742 of file libburn.h.

Referenced by burn_drive_get_best_speed(), burn_speed_descriptor_copy(), burn_speed_descriptor_new(), interpret_performance(), and mmc_set_speed().

◆ exact

int burn_speed_descriptor::exact

◆ mrw

int burn_speed_descriptor::mrw

◆ next

◆ prev

struct burn_speed_descriptor* burn_speed_descriptor::prev

List chaining. Use .next until NULL to iterate over the list

Definition at line 759 of file libburn.h.

Referenced by burn_speed_descriptor_destroy(), and burn_speed_descriptor_new().

◆ profile_loaded

int burn_speed_descriptor::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()

Definition at line 737 of file libburn.h.

Referenced by burn_speed_descriptor_copy(), burn_speed_descriptor_new(), and spc_sense_caps_al().

◆ profile_name

char burn_speed_descriptor::profile_name[80]

◆ read_speed

int burn_speed_descriptor::read_speed

◆ source

int burn_speed_descriptor::source

Where this info comes from : 0 = misc 1 = mode page 2Ah 2 = ACh GET PERFORMANCE Type 03h 3 = ACh GET PERFORMANCE Type 00h Data Type 10h (read speed)

Definition at line 732 of file libburn.h.

Referenced by burn_drive_get_best_speed(), burn_speed_descriptor_copy(), burn_speed_descriptor_new(), new_burn_speed_descr(), and spc_sense_caps_al().

◆ wrc

int burn_speed_descriptor::wrc

Expert info from ACh GET PERFORMANCE and/or mode page 2Ah. Expect values other than 0 or 1 to get a meaning in future.

Definition at line 752 of file libburn.h.

Referenced by burn_speed_descriptor_copy(), burn_speed_descriptor_new(), interpret_performance(), and spc_sense_caps_al().

◆ write_speed

int burn_speed_descriptor::write_speed

Speed is given in 1000 bytes/s , 0 = invalid. The numbers are supposed to be usable with burn_drive_set_speed()

Definition at line 746 of file libburn.h.

Referenced by burn_drive_get_best_speed(), burn_speed_descriptor_copy(), burn_speed_descriptor_new(), interpret_performance(), mmc_set_speed(), and spc_sense_caps_al().


The documentation for this struct was generated from the following file: