]> icculus.org git repositories - taylor/freespace2.git/blob - include/oal_capture.h
fix issue with looping audio streams
[taylor/freespace2.git] / include / oal_capture.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 the
6  * source.
7  *
8 */
9
10 #ifndef _OAL_CAPTURE_H
11 #define _OAL_CAPTURE_H
12
13 void oal_capture_init();
14
15 int oal_capture_create_buffer(int freq, int bits_per_sample, int nchannels, int nseconds);
16 void oal_capture_release_buffer();
17
18 int oal_capture_supported();
19
20 int oal_capture_start_record();
21 int oal_capture_stop_record();
22
23 void oal_capture_close();
24
25 int oal_capture_max_buffersize();
26 int oal_capture_get_raw_data(ubyte *outbuf, uint max_size);
27
28 #endif  // _OAL_CAPTURE_H