module
Eagle::Codecs::Vorbis
Overview
Ogg Vorbis decoding in pure Crystal, used by Sound.load for .ogg files.
Output matches libvorbis bit for bit on the test fixtures.
Defined in:
eagle/audio/vorbis.crClass Method Summary
-
.decode(data : Bytes) : AudioBuffer
Decodes a whole Ogg Vorbis file into an
AudioBuffer. -
.ogg?(data : Bytes) : Bool
True when data starts with an Ogg page header.
-
.packets(data : Bytes) : Tuple(Array(Bytes), Int64)
--- Ogg pages -> packets ------------------------------------------------- :nodoc:
Class Method Detail
def self.packets(data : Bytes) : Tuple(Array(Bytes), Int64)
#
--- Ogg pages -> packets ------------------------------------------------- :nodoc: