home *** CD-ROM | disk | FTP | other *** search
- "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.
-