module

Mp3ToDca

Main module

Constants

VERSION = "0.1.1"

Class methods

encode(input : IO, output : IO, sample_rate : Int32 = 48000, frame_size : Int32 = 960, channels : Int32 = 2, &block : IO::Memory -> Nil) : Nil

Reads data from provided IO object and print encoded data to output IO. Provided block will be yielded with IO::Memory containing audio data. This allows you to affect sound in any way you want.

Source
encode(*args, **named_args)

Reads data from provided IO object and print encoded data to output IO.

Source
metadata(io : IO, sample_rate : Int32 = 48000, frame_size : Int32 = 960, channels : Int32 = 2) : Nil

Method which writes DCA metadata to provided IO.

Source
metadata(*args, **named_args) : String

Method which returns string with DCA metadata.

Source