Linux::CDROM 0.02 review
DownloadLinux::CDROM cookbook contains common recipes featuring your CDROM drive as its main ingredient. There's a gazillion ways of readi
|
|
Linux::CDROM cookbook contains common recipes featuring your CDROM drive as its main ingredient.
There's a gazillion ways of reading the disc inside your CDROM drive. The most high-level ones would be mounting your CD and using it as a normal directory or - in case of an Audio-CD - using a player to play tracks. This is boring stuff and you don't need Linux::CDROM for any of that.
But when you want to write your own CD-player or -grabber, this is more like it. You can even get at a lower level than that.
PLAYING AUDIO
Linux::CDROM offers a couple of methods dealing with that. For starting playback, you will use either Linux::CDROM::play_ti (ti == track index) or Linux::CDROM::play_msf (msf == minute, second and frame).
All playing operations happen non-blockingly. That means, you start playback and your program does not wait till the playback is done. Instead if will proceed with the next line.
Requirements:
Perl
Linux::CDROM 0.02 search tags