]> icculus.org git repositories - taylor/freespace2.git/blob - include/dscap.h
Initial revision
[taylor/freespace2.git] / include / dscap.h
1 /*
2  * $Logfile: /Freespace2/code/Sound/dscap.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * Header file for DirectSoundCapture code
8  *
9  * $Log$
10  * Revision 1.1  2002/05/03 03:28:12  root
11  * Initial revision
12  *
13  * 
14  * 2     10/07/98 10:54a Dave
15  * Initial checkin.
16  * 
17  * 1     10/07/98 10:51a Dave
18  * 
19  * 4     2/15/98 11:10p Lawrance
20  * more work on real-time voice system
21  * 
22  * 3     2/15/98 4:43p Lawrance
23  * work on real-time voice
24  * 
25  * 2     2/03/98 11:53p Lawrance
26  * Adding support for DirectSoundCapture
27  * 
28  * 1     2/03/98 4:48p Lawrance
29  *
30  * $NoKeywords: $
31  */
32
33 #ifndef __DSCAP_H__
34 #define __DSCAP_H__
35
36 int     dscap_init();
37 void    dscap_close();
38 int     dscap_supported();
39 int     dscap_create_buffer(int freq, int bits_per_sample, int nchannels, int nseconds);
40 void    dscap_release_buffer();
41
42 int     dscap_start_record();
43 int     dscap_stop_record();
44 int     dscap_max_buffersize();
45 int     dscap_get_raw_data(unsigned char *outbuf, unsigned int max_size);
46
47
48 #endif  // __DSCAP_H__
49