This wiki is out of date, use the continuation of this wiki instead

Cd play

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 20:16, 29 August 2008 (edit)
Sandman (Talk | contribs)
(New page: Category:functions Category:CD ==Definition== '''INT''' cd_play ( <'''INT''' cdID> , <'''INT''' trackNumber> ) Starts playing the specified track on the specified CD/DVD drive. ...)
← Previous diff
Revision as of 20:20, 29 August 2008 (edit) (undo)
Sandman (Talk | contribs)

Next diff →
Line 3: Line 3:
==Definition== ==Definition==
-'''INT''' cd_play ( <'''INT''' cdID> , <'''INT''' trackNumber> )+'''INT''' cd_play ( <'''INT''' cdID> , <'''INT''' trackNumber> , [<'''INT''' tracks>] )
-Starts playing the specified track on the specified CD/DVD drive.+Starts playing at the specified track on the specified CD/DVD drive and will keep on playing for the specified number of tracks or one if no number is specified.
== Parameters == == Parameters ==
{| {|
| '''INT''' cdID || - The cdID of the CD/DVD drive of which the info is wanted. | '''INT''' cdID || - The cdID of the CD/DVD drive of which the info is wanted.
 +|-
 +| '''INT''' trackNumber || - The track number to play.
 +|-
 +| '''INT''' tracks || - The number of tracks to play. Default is ''1''.
|} |}

Revision as of 20:20, 29 August 2008


Definition

INT cd_play ( <INT cdID> , <INT trackNumber> , [<INT tracks>] )

Starts playing at the specified track on the specified CD/DVD drive and will keep on playing for the specified number of tracks or one if no number is specified.

Parameters

INT cdID - The cdID of the CD/DVD drive of which the info is wanted.
INT trackNumber - The track number to play.
INT tracks - The number of tracks to play. Default is 1.

Returns

INT

0 - Invalid CD/DVD drive or CD/DVD.
1 - The CD started playing.


CD Functions
Cd_currtrack() • Cd_drives() • Cd_eject() • Cd_getinfo() • Cd_name() • Cd_numtracks() • Cd_pause() • Cd_play() • Cd_resume() • Cd_status() • Cd_stop() •
Personal tools