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 int oal_capture_create_buffer(int freq, int bits_per_sample, int nchannels, int nseconds);
14 void oal_capture_release_buffer();
16 int oal_capture_supported();
18 int oal_capture_start_record();
19 int oal_capture_stop_record();
21 void oal_capture_close();
23 int oal_capture_max_buffersize();
24 int oal_capture_get_raw_data(ubyte *outbuf, uint max_size);
26 #endif // _OAL_CAPTURE_H