enum RemiAudio::Cue::File::Type
Overview
The type of this file.
Defined in:
remiaudio/cue.crEnum 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
-
.names : Array(String)
Similar to
::Enum.names
, except that the returned values match those generated with#to_s
. -
.parse?(string : String) : self | Nil
Similar to
::Enum.parse?
, except that this expects the strings to match those in a CUE file (e.g.
Instance Method Summary
- #aiff?
- #binary?
- #flac?
- #motorola?
- #mp3?
-
#to_s : String
Similar to
::Enum#to_s
, except that the returned values are usable in a CUE file. - #wave?
Class Method Detail
Similar to ::Enum.names
, except that the returned values match those
generated with #to_s
.
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.
Instance Method Detail
Similar to ::Enum#to_s
, except that the returned values are usable in
a CUE file.