enum RemiAudio::Cue::Track::Type

Overview

The type of Track.

Defined in:

remiaudio/cue.cr

Enum Members

Audio = 0

Audio track

Cdg = 1

CD+G track

Mode1_2048 = 2

Cooked CD-ROM Mode 1 data (sector size: 2048)

Mode1_2352 = 3

Raw CD-ROM Mode 1 data (sector size: 2352)

Mode2_2048 = 4

CD-ROM Mode 2 XA form-1 data (sector size: 2048)

Mode2_2324 = 5

CD-ROM Mode 2 XA form-2 data (sector size: 2324)

Mode2_2336 = 6

CD-ROM Mode 2 data (sector size: 2336)

Mode2_2352 = 7

CD-ROM Mode 2 data (sector size: 2352)

Cdi_2336 = 8

CDI Mode 2 data (sector size: 2336)

Cdi_2352 = 9

CDI Mode 2 data (sector size: 2352)

Class Method Summary

Instance Method Summary

Class Method Detail

def self.names : Array(String) #

Similar to ::Enum.names, except that the returned values match those generated with #to_s.


[View source]
def self.parse?(string : String) : self | Nil #

Similar to ::Enum.parse?, except that this expects the strings to match those in a CUE file (e.g. "MODE1/2048"), and is case insensitive.


[View source]

Instance Method Detail

def audio? #

[View source]
def cdg? #

[View source]
def cdi_2336? #

[View source]
def cdi_2352? #

[View source]
def mode1_2048? #

[View source]
def mode1_2352? #

[View source]
def mode2_2048? #

[View source]
def mode2_2324? #

[View source]
def mode2_2336? #

[View source]
def mode2_2352? #

[View source]
def to_s : String #

Similar to ::Enum#to_s, except that the returned values are usable in a CUE file.


[View source]