00001 #ifndef __SB16IO_H
00002 #define __SB16IO_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 #include "tdef.h"
00035
00036
00037
00038
00039 #define SB16IO_RECORD8 TRUE
00040 #define SB16IO_RECORD16 FALSE
00041 #define SB16IO_PLAY8 FALSE
00042 #define SB16IO_PLAY16 TRUE
00043
00044 #define SB16IO_STEREO TRUE
00045 #define SB16IO_STEREO8 TRUE
00046 #define SB16IO_STEREO16 TRUE
00047 #define SB16IO_MONO FALSE
00048 #define SB16IO_MONO8 FALSE
00049 #define SB16IO_MONO16 FALSE
00050
00051 #define SB16IO_NOUSRPROC 0
00052 #define SB16IO_NOCALLBACK 0
00053
00054 #define SB16IO_WAITNEW TRUE
00055 #define SB16IO_NOWAIT FALSE
00056
00057
00058
00059 #ifdef __cplusplus
00060 extern "C" {
00061 #endif
00062
00063
00064
00065 UINT16 sb16io_open( BOOL record8, UINT16 srate, BOOL stereo8, BOOL stereo16,
00066 UINT16 blklen, VOID (PTRF usrproc) ( VOID ) );
00067
00068 UINT16 sb16io_close( VOID );
00069
00070 UINT16 sb16io_start( VOID );
00071
00072 UINT16 sb16io_stop( VOID );
00073
00074 UINT16 sb16io_getoverrun( VOID );
00075
00076 UINT16 sb16io_pause( VOID );
00077
00078 UINT16 sb16io_continue( VOID );
00079
00080 pfINT16 sb16io_get16( BOOL waitnew );
00081
00082 pfINT8 sb16io_get8( BOOL waitnew );
00083
00084 UINT16 sb16io_setdelay( UINT16 delay );
00085
00086
00087
00088 #ifdef __cplusplus
00089 }
00090 #endif
00091
00092
00093
00094 #endif