2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
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
10 * $Logfile: /Freespace2/code/Sound/dscap.h $
15 * Header file for DirectSoundCapture code
18 * Revision 1.2 2002/06/09 04:41:12 relnev
19 * added copyright header
21 * Revision 1.1.1.1 2002/05/03 03:28:12 root
25 * 2 10/07/98 10:54a Dave
28 * 1 10/07/98 10:51a Dave
30 * 4 2/15/98 11:10p Lawrance
31 * more work on real-time voice system
33 * 3 2/15/98 4:43p Lawrance
34 * work on real-time voice
36 * 2 2/03/98 11:53p Lawrance
37 * Adding support for DirectSoundCapture
39 * 1 2/03/98 4:48p Lawrance
49 int dscap_supported();
50 int dscap_create_buffer(int freq, int bits_per_sample, int nchannels, int nseconds);
51 void dscap_release_buffer();
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);