Linux-CDROM

 view release on metacpan or  search on metacpan

lib/Linux/CDROM.pm  view on Meta::CPAN


Returns a true value if this track is an audio track.

=back

=head1 METHODS FOR Linux::CDROM::Subchannel

These objects represent the state of your drive in the moment you call C<<
$cd->poll >>.  Some operations (most notably playing Audio) on the drive are
non-blocking and your program therefore continues with the execution while your
drive is busy carrying out the desired operation. You can now ask the drive
what it is currently doing in a tight loop. The information your drives returns
to you are C<Linux::CDROM::Subchannel> objects.

=over 4

=item * B<status>

The basic status of your drive. It returns one of the following values:

=over 8

=item * B<CDROM_AUDIO_INVALID>

Audio status not supported.

=item * B<CDROM_AUDIO_PLAY>

Your drive is right now busy playing back an Audio track.

=item * B<CDROM_AUDIO_PAUSED>

Audio playback is paused. You can use C<< $cd->resume >> to continue it.

=item * B<CDROM_AUDIO_COMPLETED>

Audio playback successfully completed.

=item * B<CDROM_AUDIO_ERROR>



( run in 0.371 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )