class Minimp3::Decoder

Included Modules

Defined in:

minimp3.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(reader : IO) #

[View source]

Class Method Detail

def self.can_decode?(file : String) : Bool #

detect file if can decode


[View source]
def self.can_decode?(buf : Bytes) : Bool #

detect buffer if can decode


[View source]
def self.decode(io : IO, callback : Frame -> ) #

read data from IO to decode them and call callback with decoded data (aka. pcm data) and frame info


[View source]

Instance Method Detail

def each #
Description copied from module Iterable(Minimp3::Frame)

Must return an Iterator over the elements in this collection.


[View source]