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 >
Text File  |  1989-11-29  |  1KB  |  37 lines

  1. "STReplay.Library" is a shared library which allows to load and play
  2. Soundtracker-Modules even from high level languages like Basic or C without
  3. any special effort.
  4. For usage examples see "play.c" and "libdemo.bas"
  5.  
  6. This is public domain; do whatever you want, sell it for not less than $50,
  7. inflame it, molest it...
  8.  
  9. No ⌐ by Olli, dem Gr÷▀ten
  10.  
  11.  
  12. long LoadModule(char *name)             -30
  13. -------------------------------------------
  14. Attempts to load the module named "name". Returns 0 if all was cool, -1 if
  15. the file couldn't be opened and -2 if there was no chipmem for the module.
  16. A formerly loaded song will automatically be stopped and unloaded.
  17.  
  18. void UnloadModule()                     -36
  19. -------------------------------------------
  20. Stops and frees the current module, if any.
  21.  
  22. long IsModule()                         -42
  23. -------------------------------------------
  24. Returns TRUE if any module is loaded, FALSE if not.
  25.  
  26. void StartSong()                        -48
  27. -------------------------------------------
  28. Starts current song.
  29.  
  30. void StopSong()                         -54
  31. -------------------------------------------
  32. Stops current song. The song can be restarted using StartSong().
  33.  
  34. long IsRunning()                        -60
  35. -------------------------------------------
  36. Returns TRUE if a song is running, FALSE otherwise.
  37.