From: gabriele renzi Date: 2005-10-21T02:51:59+09:00 Subject: Re: Seeking Contributions for O'Reilly's Ruby Cookbook Peter Hickman ha scritto: > Something on SDL perhaps, create your own CD / MP3 player. this used to work some years ago: require 'sdl' SDL.init( SDL::INIT_CDROM ) (Cd=SDL::CD.open(0)).status def play(trk) Cd.playTracks(trk,0,0,0) end def stop Cd.stop end then irb -r cdplayer and you're done ;) BTW a better example would be nice, +1 for sdl/rudl/gosu examples