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:20, 29 August 2008 (edit)
Sandman (Talk | contribs)

← Previous diff
Current revision (20:23, 29 August 2008) (edit) (undo)
Sandman (Talk | contribs)
m
 
Line 9: Line 9:
== 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''' trackNumber || - The track number to play.

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