home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
l
/
l-coll1.zip
/
STREPLAY.ZOO
/
STReplay
/
EDoc
< prev
next >
Wrap
Text File
|
1989-11-29
|
1KB
|
37 lines
"STReplay.Library" is a shared library which allows to load and play
Soundtracker-Modules even from high level languages like Basic or C without
any special effort.
For usage examples see "play.c" and "libdemo.bas"
This is public domain; do whatever you want, sell it for not less than $50,
inflame it, molest it...
No ⌐ by Olli, dem Gr÷▀ten
long LoadModule(char *name) -30
-------------------------------------------
Attempts to load the module named "name". Returns 0 if all was cool, -1 if
the file couldn't be opened and -2 if there was no chipmem for the module.
A formerly loaded song will automatically be stopped and unloaded.
void UnloadModule() -36
-------------------------------------------
Stops and frees the current module, if any.
long IsModule() -42
-------------------------------------------
Returns TRUE if any module is loaded, FALSE if not.
void StartSong() -48
-------------------------------------------
Starts current song.
void StopSong() -54
-------------------------------------------
Stops current song. The song can be restarted using StartSong().
long IsRunning() -60
-------------------------------------------
Returns TRUE if a song is running, FALSE otherwise.