home *** CD-ROM | disk | FTP | other *** search
/ Over Load / MAXIWIN7.ISO / programs / display / include / sb16io.h next >
Encoding:
C/C++ Source or Header  |  1995-05-14  |  1.6 KB  |  72 lines

  1. #ifndef __SB16IO_H
  2. #define __SB16IO_H
  3.  
  4. /**********************************************************/
  5. /*/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\*/
  6. /*
  7. Copyright: 1995 - Borja Etxebarria
  8. */
  9. /*/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\*/
  10. /**********************************************************/
  11.  
  12. #include "tdef.h"
  13.  
  14. /**********************************************************/
  15.  
  16. #define SB16IO_RECORD8 TRUE
  17. #define SB16IO_RECORD16 FALSE
  18. #define SB16IO_PLAY8 FALSE
  19. #define SB16IO_PLAY16 TRUE
  20.  
  21. #define SB16IO_STEREO TRUE
  22. #define SB16IO_STEREO8 TRUE
  23. #define SB16IO_STEREO16 TRUE
  24. #define SB16IO_MONO FALSE
  25. #define SB16IO_MONO8 FALSE
  26. #define SB16IO_MONO16 FALSE
  27.  
  28. #define SB16IO_NOUSRPROC 0
  29. #define SB16IO_NOCALLBACK 0
  30.  
  31. #define SB16IO_WAITNEW TRUE
  32. #define SB16IO_NOWAIT FALSE
  33.  
  34. /**********************************************************/
  35.  
  36. #ifdef __cplusplus
  37. extern "C" {
  38. #endif
  39.  
  40. /**********************************************************/
  41.  
  42. UINT16 sb16io_open( BOOL record8, UINT16 srate, BOOL stereo8, BOOL stereo16,
  43.         UINT16 blklen, VOID (PTRF usrproc) ( VOID ) );
  44.  
  45. UINT16 sb16io_close( VOID );
  46.  
  47. UINT16 sb16io_start( VOID );
  48.  
  49. UINT16 sb16io_stop( VOID );
  50.  
  51. UINT16 sb16io_getoverrun( VOID );
  52.  
  53. UINT16 sb16io_pause( VOID );
  54.  
  55. UINT16 sb16io_continue( VOID );
  56.  
  57. pfINT16 sb16io_get16( BOOL waitnew );
  58.  
  59. pfINT8 sb16io_get8( BOOL waitnew );
  60.  
  61. UINT16 sb16io_setdelay( UINT16 delay );
  62.  
  63. /**********************************************************/
  64.  
  65. #ifdef __cplusplus
  66. }  /* extern "C" */
  67. #endif
  68.  
  69. /**********************************************************/
  70.  
  71. #endif
  72.