home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Multimed / Multimed.zip / lbmix04.zip / PipeMix / Source / PipeMixPvt.h < prev   
C/C++ Source or Header  |  2000-05-05  |  1KB  |  43 lines

  1. #include "PipeMix.h"
  2.  
  3. #define DEF_INFO_BUF_SIZE 128
  4.  
  5. /******************* VARIABLES *******************/
  6.  
  7. /* API Level. Defined in the base part and defaults to 1. Can be changed by
  8.    hardware specific part. */
  9. extern unsigned long ApiLevel;
  10.  
  11. /* Size and pointer to info buffer returned on command 83. Defined
  12.    in the base part and default to 0 and NULL. Can be changed by
  13.    hardware specific part. */
  14. extern int InfoBufSize;
  15. extern char *InfoBuf;
  16.  
  17. /* Debug mode if TRUE. Defined in the base part. Should not be changed by
  18.    hardware specific part */
  19. extern int Debug;
  20.  
  21. /* Logo text to be displayed on startup and to be returned on command 83.
  22.    Must be defined in hardware specific part  */
  23. extern const char szLogo[];
  24.  
  25.  
  26. /************ FUNCTIONS (defined in hardware specific part) *************/
  27.  
  28.  
  29. /* Initialize mixer. Return TRUE if Ok. argc and argv are command line
  30.    parameters passed to main() without parameters handled by the base part
  31. */
  32. int MixerInit(int argc, char *argv[]);
  33.  
  34. // Deinitialize mixer
  35. void MixerClose();
  36.  
  37. /* Process a command. Buff is an output buffer, the function number and
  38.    a trailing space are already there. tokens - number of command tokens
  39.    cmd - command, p1, p2, p3 - parameters. If some of them are not specified
  40.    then default values (p1=100, p2=p1, p3=0) are supplied.
  41. */
  42. int ProcessCmd(char *Buff, int tokens, int cmd, int p1, int p2, int p3);
  43.