Query: sdl::cdtrack
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
pods::SDL::CDTrack(3pm) User Contributed Perl Documentation pods::SDL::CDTrack(3pm)NAMESDL::CDTrack -- SDL Bindings for structure SDL_CDTrackCATEGORYCore, CDROM, StructureSYNOPSISuse 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); } } }CONSTANTSThe 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_TRACKMETHODid $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 trackSEE ALSOSDL::CDROM, SDL::CDAUTHORSSee "AUTHORS" in SDL. perl v5.14.2 2012-05-28 pods::SDL::CDTrack(3pm)
Related Man Pages |
---|
sdl::cd(3pm) - debian |
sdl::cdtrack(3pm) - debian |
sdl::cursor(3pm) - debian |
sdl::deprecated(3pm) - debian |
sdl::mouse(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
9-track dinosaur |
cannot run c compiled programs |
M4000 Memory Fault |
SDL Image Filtering |
Not able to track harddisk usage by root |