- This wiki is out of date, use the continuation of this wiki instead
CD statuscodes
From FenixWiki
(Difference between revisions)
Revision as of 13:26, 19 June 2008 (edit) 86.70.220.11 (Talk) ← Previous diff |
Current revision (13:27, 19 June 2008) (edit) (undo) 86.70.220.11 (Talk) |
||
Line 8: | Line 8: | ||
| ''Constant'' || - ''Value'' || - ''Description'' | | ''Constant'' || - ''Value'' || - ''Description'' | ||
|- | |- | ||
- | | CD_ERROR || - -1 | + | | CD_ERROR || - -1 || - Error. |
|- | |- | ||
- | | CD_TRAYEMPTY || - 0 | + | | CD_TRAYEMPTY || - 0 || - The CD tray is empty. |
|- | |- | ||
- | | CD_STOPPED || - 1 | + | | CD_STOPPED || - 1 || - The CD is stopped. |
|- | |- | ||
- | | CD_PLAYING || - 2 | + | | CD_PLAYING || - 2 || - The CD is playing. |
|- | |- | ||
- | | CD_PAUSED || - 3 | + | | CD_PAUSED || - 3 || - The CD is paused. |
|} | |} |
Current revision
[edit] Definition
CD statuscodes are status codes returned by the function cd_status() , to specify the current status of a CD drive.
[edit] List
Constant | - Value | - Description |
CD_ERROR | - -1 | - Error. |
CD_TRAYEMPTY | - 0 | - The CD tray is empty. |
CD_STOPPED | - 1 | - The CD is stopped. |
CD_PLAYING | - 2 | - The CD is playing. |
CD_PAUSED | - 3 | - The CD is paused. |