enum RemiAudio::Cue::File::Type

Overview

The type of this file.

Defined in:

remiaudio/cue.cr

Enum Members

Binary = 0

Raw little-endian data.

Motorola = 1

Raw big-endian data.

Aiff = 2

16-bit 44.1 KHz AIFF PCM data.

Wave = 3

16-bit 44.1 KHz WAVE PCM data.

Mp3 = 4

16-bit stereo 44.1 KHz MP3 data.

Flac = 5

16-bit stereo 44.1 KHz FLAC data.

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. "BINARY", "MOTOROLA", etc.), and is case insensitive.


[View source]

Instance Method Detail

def aiff? #

[View source]
def binary? #

[View source]
def flac? #

[View source]
def motorola? #

[View source]
def mp3? #

[View source]
def to_s : String #

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


[View source]
def wave? #

[View source]