Forum: Ruby icanhasaudio 0.0.2 Released

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Be30361bb0b0c495e3077db43ad84b56?d=identicon&s=25 Aaron Patterson (Guest)
on 2007-07-29 06:23
(Received via mailing list)
O HAI!  Monorail cat says:

icanhasaudio version 0.0.2 has been released!

* <http://seattlerb.rubyforge.org/>

Hai! icanhasaudio? is an interface to lame for decoding ur MP3s.  I iz
in ur
computer. Decodin ur mp3s.  Whatevs!  I also decodin ur OGGz!

## SYNOPSYS ROFLOL

  require 'icanhasaudio'

  reader = Audio::MPEG::Decoder.new
  File.open(ARGV[0], 'rb') { |input_lol|
    File.open(ARGV[1], 'wb') { |output_lol|
      reader.decode(input_lol, output_lol)
    }
  }

  reader = Audio::OGG::Decoder.new
  reader.decode(File.open(ARGV[0], 'rb'), File.open(ARGV[1], 'wb'))

Changes:

## 0.0.2
* 1 major enhancement
  * I can has ogg decoder!

KTHX BAI!!!
This topic is locked and can not be replied to.