Class Audio::MPEG::Decoder
In: ext/icanhasaudio/audio_mpeg_decoder.c
lib/icanhasaudio/mpeg/decoder.rb
lib/icanhasaudio/version.rb
Parent: Object
File Decoder Decoder Encoder WAV OGG MPEG Audio dot/f_3.png

call-seq:

   nsamp=(num)

Set the number of samples to num

Methods

Classes and Modules

Class Audio::MPEG::Decoder::MP3Data

Constants

ID3 = [73, 68, 51, 3].pack('C*')
AID = [65, 105, 68, 1].pack('C*')
VERSION = '0.1.2'

Attributes

bits  [RW]  Number of bits, 8 or 16
mp3data  [R] 

Public Class methods

Returns the version of lame you are using.

Public Instance methods

Decode the mp3 headers for buffer.

Get the input samplerate

Decode the input IO and write it to the output IO.

Get the number of channels

Set the number of samples

[Validate]