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
Current revision (20:23, 29 August 2008) (edit) (undo)
Sandman (Talk | contribs)
m
 
(One intermediate revision not shown.)
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 with the CD to play.
 +|-
 +| '''INT''' trackNumber || - The track number to play.
 +|-
 +| '''INT''' tracks || - The number of tracks to play. Default is ''1''.
|} |}

Current revision


[edit] 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.

[edit] Parameters

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

[edit] 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