Difference between revisions of "xmplayer playXM"
Jump to navigation
Jump to search
| Line 20: | Line 20: | ||
|} | |} | ||
| + | Example: | ||
| + | XMFILE=findTableFile('noise.xm') --finds table attached in CE | ||
| + | xmplayer_playXM(XMFILE) -- plays xm file | ||
| + | xmplayer_stop() -- stops xmplayer | ||
== See also == | == See also == | ||
Revision as of 22:52, 13 April 2012
function xmplayer_playXM(Filename)
function xmplayer_playXM(Stream)
Plays an XM file that is stored in a file or in a memory stream obtained from a tablefile object
Function Parameters
| Parameter | Type | Description |
|---|---|---|
| Filename | string | Path to the xm-file. If not full path is provided the workdir of ce is searched. |
| Stream | Stream | A stream object that contains the data of the xm-file |
Example:
XMFILE=findTableFile('noise.xm') --finds table attached in CE
xmplayer_playXM(XMFILE) -- plays xm file
xmplayer_stop() -- stops xmplayer
See also