FS2_Open
Open source remastering of the Freespace 2 engine
dscap.h
Go to the documentation of this file.
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 the
6  * source.
7  *
8 */
9 
10 
11 
12 #ifndef __DSCAP_H__
13 #define __DSCAP_H__
14 
15 int dscap_init();
16 void dscap_close();
17 int dscap_supported();
18 int dscap_create_buffer(int freq, int bits_per_sample, int nchannels, int nseconds);
20 
21 int dscap_start_record();
22 int dscap_stop_record();
24 int dscap_get_raw_data(unsigned char *outbuf, unsigned int max_size);
25 
26 
27 #endif // __DSCAP_H__
int dscap_create_buffer(int freq, int bits_per_sample, int nchannels, int nseconds)
Definition: dscap.cpp:70
int dscap_stop_record()
Definition: dscap.cpp:152
int dscap_start_record()
Definition: dscap.cpp:132
void dscap_release_buffer()
Definition: dscap.cpp:59
int dscap_supported()
Definition: dscap.cpp:122
void dscap_close()
Definition: dscap.cpp:172
int dscap_get_raw_data(unsigned char *outbuf, unsigned int max_size)
Definition: dscap.cpp:202
int dscap_max_buffersize()
Definition: dscap.cpp:183
int dscap_init()
Definition: dscap.cpp:40