]> icculus.org git repositories - taylor/freespace2.git/blob - include/dscap.h
remove ACM stuff that we don't need
[taylor/freespace2.git] / include / dscap.h
1 /*
2  * Copyright (C) Volition, Inc. 1999.  All rights reserved.
3  *
4  * All source code herein is the property of Volition, Inc. You may not sell 
5  * or otherwise commercially exploit the source or things you created based on
6  * the source.
7  */
8
9 /*
10  * $Logfile: /Freespace2/code/Sound/dscap.h $
11  * $Revision$
12  * $Date$
13  * $Author$
14  *
15  * Header file for DirectSoundCapture code
16  *
17  * $Log$
18  * Revision 1.2  2002/06/09 04:41:12  relnev
19  * added copyright header
20  *
21  * Revision 1.1.1.1  2002/05/03 03:28:12  root
22  * Initial import.
23  *
24  * 
25  * 2     10/07/98 10:54a Dave
26  * Initial checkin.
27  * 
28  * 1     10/07/98 10:51a Dave
29  * 
30  * 4     2/15/98 11:10p Lawrance
31  * more work on real-time voice system
32  * 
33  * 3     2/15/98 4:43p Lawrance
34  * work on real-time voice
35  * 
36  * 2     2/03/98 11:53p Lawrance
37  * Adding support for DirectSoundCapture
38  * 
39  * 1     2/03/98 4:48p Lawrance
40  *
41  * $NoKeywords: $
42  */
43
44 #ifndef __DSCAP_H__
45 #define __DSCAP_H__
46
47 int     dscap_init();
48 void    dscap_close();
49 int     dscap_supported();
50 int     dscap_create_buffer(int freq, int bits_per_sample, int nchannels, int nseconds);
51 void    dscap_release_buffer();
52
53 int     dscap_start_record();
54 int     dscap_stop_record();
55 int     dscap_max_buffersize();
56 int     dscap_get_raw_data(unsigned char *outbuf, unsigned int max_size);
57
58
59 #endif  // __DSCAP_H__
60