/usr/lib/perl5/pods/SDL/CDTrack.pod is in libsdl-perl 2.540-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | =pod
=head1 NAME
SDL::CDTrack -- SDL Bindings for structure SDL_CDTrack
=head1 CATEGORY
Core, CDROM, Structure
=head1 SYNOPSIS
use SDL;
use SDL::CDROM;
use SDL::CD ':status';
use SDL::CDTrack;
SDL::init( SDL_INIT_CDROM );
my $drives = SDL::CDROM::num_drives();
if( $drives > 0 )
{
my $CD = SDL::CD->new(0); #first drive's CD
if($CD)
{
if( $CD->status != CD_TRAYEMPTY )
{
my $track = SDL::CD->track(0);
}
}
}
=head1 CONSTANTS
The constants are exported by default. You can avoid this by doing:
use SDL::CDTrack ();
and access them directly:
SDL::CDTrack::SDL_AUDIO_TRACK;
or by choosing the export tags below:
Export tag: ':type'
SDL_AUDIO_TRACK
SDL_DATA_TRACK
=head1 METHOD
=head2 id
$track->id() # 0-99
Track number
=head2 type
$track->type() # SDL_AUDIO_TRACK or SDL_DATA_TRACK
Type of track
=head2 length
$track->length()
Length, in frames, of this track
=head2 offset
$track->offset()
Frame offset to the beginning of this track
=head1 SEE ALSO
L<SDL::CDROM>, L<SDL::CD>
=head1 AUTHORS
See L<SDL/AUTHORS>.
=cut
|