FS2_Open
Open source remastering of the Freespace 2 engine
|
#include "globalincs/pstypes.h"
#include "sound/ds.h"
#include "sound/dscap.h"
#include "sound/rtvoice.h"
#include "sound/sound.h"
Go to the source code of this file.
Classes | |
struct | rtv_format |
struct | rtv_out_buffer |
Macros | |
#define | MAX_RTV_FORMATS 5 |
#define | RTV_BUFFER_TIME 8 |
#define | MAX_RTV_OUT_BUFFERS 1 |
#define | RTV_OUT_FLAG_USED (1<<0) |
Typedefs | |
typedef struct rtv_format | rtv_format |
typedef struct rtv_out_buffer | rtv_out_buffer |
Functions | |
Uint32 CALLBACK | TimeProc (Uint32 interval, void *param) |
int | rtvoice_pick_record_format () |
void | rtvoice_set_qos (int qos) |
int | rtvoice_init_recording (int qos) |
void | rtvoice_stop_recording () |
void | rtvoice_close_recording () |
int | rtvoice_start_recording (void(*user_callback)(), int callback_time) |
void | rtvoice_get_data (unsigned char **outbuf, int *size, double *gain) |
void | rtvoice_uncompress (unsigned char *data_in, int size_in, double gain, unsigned char *data_out, int size_out) |
void | rtvoice_close_playback () |
void | rtvoice_reset_out_buffers () |
int | rtvoice_init_playback () |
int | rtvoice_find_free_output_buffer () |
int | rtvoice_create_playback_buffer () |
void | rtvoice_stop_playback (int index) |
void | rtvoice_stop_playback_all () |
void | rtvoice_free_playback_buffer (int index) |
int | rtvoice_play (int index, unsigned char *data, int size) |
Variables | |
void(* | Rtv_callback )() |
#define MAX_RTV_FORMATS 5 |
Definition at line 27 of file rtvoice.cpp.
#define MAX_RTV_OUT_BUFFERS 1 |
Definition at line 47 of file rtvoice.cpp.
#define RTV_BUFFER_TIME 8 |
Definition at line 40 of file rtvoice.cpp.
#define RTV_OUT_FLAG_USED (1<<0) |
Definition at line 48 of file rtvoice.cpp.
typedef struct rtv_format rtv_format |
typedef struct rtv_out_buffer rtv_out_buffer |
void rtvoice_close_playback | ( | ) |
Definition at line 308 of file rtvoice.cpp.
void rtvoice_close_recording | ( | ) |
Definition at line 209 of file rtvoice.cpp.
int rtvoice_create_playback_buffer | ( | ) |
Definition at line 378 of file rtvoice.cpp.
int rtvoice_find_free_output_buffer | ( | ) |
Definition at line 358 of file rtvoice.cpp.
Definition at line 420 of file rtvoice.cpp.
Definition at line 279 of file rtvoice.cpp.
int rtvoice_init_playback | ( | ) |
Definition at line 332 of file rtvoice.cpp.
Definition at line 149 of file rtvoice.cpp.
int rtvoice_pick_record_format | ( | ) |
Definition at line 120 of file rtvoice.cpp.
Definition at line 437 of file rtvoice.cpp.
void rtvoice_reset_out_buffers | ( | ) |
Definition at line 319 of file rtvoice.cpp.
Definition at line 140 of file rtvoice.cpp.
Definition at line 233 of file rtvoice.cpp.
Definition at line 399 of file rtvoice.cpp.
void rtvoice_stop_playback_all | ( | ) |
Definition at line 410 of file rtvoice.cpp.
void rtvoice_stop_recording | ( | ) |
Definition at line 187 of file rtvoice.cpp.
void rtvoice_uncompress | ( | unsigned char * | data_in, |
int | size_in, | ||
double | gain, | ||
unsigned char * | data_out, | ||
int | size_out | ||
) |
Definition at line 300 of file rtvoice.cpp.
Definition at line 93 of file rtvoice.cpp.
void(* Rtv_callback) () |
Definition at line 66 of file rtvoice.cpp.