Device::CdioDevice::Cdio is a Perl module for CD Input and Control library. | |
Download |
Device::Cdio Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Rocky Bernstein
- Publisher web site:
- http://search.cpan.org/~rocky/Device-Cdio-v0.2.3/lib/Device/Cdio/Track.pm
Device::Cdio Tags
Device::Cdio Description
Device::Cdio is a Perl module for CD Input and Control library. Device::Cdio is a Perl module for CD Input and Control library.SYNOPSISThis encapsulates CD-ROM reading and control. Applications wishing to be oblivious of the OS- and device-dependent properties of a CD-ROM can use this library. use Device::Cdio; use Device::Cdio::Device; @cd_drives = Device::Cdio::get_devices($perlcdio::DRIVER_DEVICE); @cd_drives = Device::Cdio::get_devices_with_cap($perlcdio::FS_AUDIO, 0); foreach my $drive (@cd_drives) { print "Drive $driven"; } foreach my $driver_name (sort keys(vice::Cdio::drivers)) { print "Driver $driver_name is installed.n" if Device::Cdio::have_driver($driver_name) and $driver_name !~ m{device|Unknown}; }This is an Perl Object-Oriented interface to the GNU CD Input and Control library, libcdio, written in C. The library encapsulates CD-ROM reading and control. Perl programs wishing to be oblivious of the OS- and device-dependent properties of a CD-ROM can use this library.The encapsulation is done in two parts. The lower-level Perl interface is called perlcdio and is generated by SWIG.The more object-oriented package Device::Cdio and uses perlcdio. Actually, there are no objects in Device::Cdio, but there are in its sub packages Device::Cdio::Device and Device::Cdio::Tracks.Although perlcdio is perfectly usable on its own, it is expected that Cdio is what most people will use. As perlcdio more closely models the C interface libcdio, it is conceivable (if unlikely) that die-hard libcdio C users who are very familiar with that interface could prefer that. Requirements: · Perl
Device::Cdio Related Software