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 the
10 #ifndef _OAL_CAPTURE_H
11 #define _OAL_CAPTURE_H
13 void oal_capture_init();
15 int oal_capture_create_buffer(int freq, int bits_per_sample, int nchannels, int nseconds);
16 void oal_capture_release_buffer();
18 int oal_capture_supported();
20 int oal_capture_start_record();
21 int oal_capture_stop_record();
23 void oal_capture_close();
25 int oal_capture_max_buffersize();
26 int oal_capture_get_raw_data(ubyte *outbuf, uint max_size);
28 #endif // _OAL_CAPTURE_H