Class Burn::WriteOptions

Abstract

Options relative to writing operations.

Inherits from: Object ← Burn::WriteOptions .

Included in: Burn .

Index: TYPE_PACKET TYPE_RAW TYPE_SAO TYPE_TAO new set_perform_opc set_simulate set_toc_entries set_underrun_proof set_write_type

Class methods
newnew(drive)
 

Creates a new Burn::WriteOptions for burning to the specified drive.

Instance methods
set_perform_opcset_perform_opc(state)
 

Sets whether the drive should use opc or not.

  • state: if true, optical power calibration will be performed at start of burn.

  • Returns: self.

set_simulateset_simulate(state)
 

Sets wheither the drive should perform a simulation instead of a burn or not.

  • state: if true, the drive will perform a simulation instead of a burn.

  • Returns: true on success, false otherwise.

set_toc_entriesset_toc_entries(*toc_entries)
 

Supplies toc entries for writing - not normally required for cd mastering.

  • toc_entries: TOC entries (as a list of Burn::TocEntry objects).

  • Returns: self.

set_underrun_proofset_underrun_proof(state)
 

Controls buffer underrun prevention.

  • state: if true, buffer underrun protection is enabled.

  • Returns: true on success, false otherwise.

set_write_typeset_write_type(write_type, block_type)
 

Sets the write type.

Constants
TYPE_PACKET

Packet writing.

TYPE_RAW

Raw disc at once recording. All subcodes must be provided by lib or user. Only raw block types are supported.

TYPE_SAO

Session At Once.

TYPE_TAO

Track At Once recording. 2s gaps between tracks, no fonky lead-ins.