pods::...DTrack(3pm)
π NAME
okay so this is pods::...DTrack(3pm) from User Contributed Perl Documentation, and it's the manual page for SDL::CDTrack β SDL Bindings for structure SDL_CDTrack. Periodt. π
πΏ CATEGORY
Category check: Core, CDROM, Structure. All three, no cap. π¦
β¨ SYNOPSIS
Here's the whole little flow, bestie β copy it exactly:
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);
}
}
}
π 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_TRACKSDL_DATA_TRACK
iykyk π
π METHOD
The methods are giving main character energy. Here's every one, exactly as listed: π«Ά
id
$track->id() # 0-99
Track number
type
$track->type() # SDL_AUDIO_TRACK or SDL_DATA_TRACK
Type of track
length
$track->length()
Length, in frames, of this track
offset
$track->offset()
Frame offset to the beginning of this track
π₯ SEE ALSO
SDL::CDROM, SDL::CD β go look, bestie. π
π AUTHORS
See "AUTHORS" in SDL. π
That's the whole page! This one's serving perl v5.42.3, dated 2026-08-19, with the pods::...DTrack(3pm) header. Byeee, bestie! π«Άπβ¨
π¦ where this page comes from
- ubuntu stonking: libsdl-perl 2.548-6build1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms