sesman: sound.c: no logic change, remove tabs and warning

ulab-next-nosound
Jay Sorg 11 years ago
parent a46a3130d3
commit 6d3af904d3

@ -146,6 +146,25 @@ static struct xr_wave_format_ex *g_wave_inp_formats[SND_NUM_INP_FORMATS] =
static int g_client_input_format_index = 0; static int g_client_input_format_index = 0;
static int g_server_input_format_index = 0; static int g_server_input_format_index = 0;
/* microphone related */
static int APP_CC
sound_send_server_input_formats(void);
static int APP_CC
sound_process_input_format(int aindex, int wFormatTag,
int nChannels, int nSamplesPerSec,
int nAvgBytesPerSec, int nBlockAlign,
int wBitsPerSample, int cbSize, char *data);
static int APP_CC
sound_process_input_formats(struct stream *s, int size);
static int APP_CC
sound_input_start_recording(void);
static int APP_CC
sound_input_stop_recording(void);
static int APP_CC
sound_process_input_data(struct stream *s, int bytes);
static int DEFAULT_CC
sound_sndsrvr_source_data_in(struct trans *trans);
/*****************************************************************************/ /*****************************************************************************/
static int APP_CC static int APP_CC
sound_send_server_output_formats(void) sound_send_server_output_formats(void)
@ -215,7 +234,6 @@ sound_send_server_output_formats(void)
} }
/*****************************************************************************/ /*****************************************************************************/
static int static int
sound_send_training(void) sound_send_training(void)
{ {
@ -826,7 +844,6 @@ sound_check_wait_objs(void)
trans_delete(g_audio_c_trans_out); trans_delete(g_audio_c_trans_out);
g_audio_c_trans_out = 0; g_audio_c_trans_out = 0;
} }
} }
if (g_audio_l_trans_in != 0) if (g_audio_l_trans_in != 0)
@ -1015,7 +1032,7 @@ sound_process_input_formats(struct stream *s, int size)
*****************************************************************************/ *****************************************************************************/
static int APP_CC static int APP_CC
sound_input_start_recording() sound_input_start_recording(void)
{ {
struct stream* s; struct stream* s;
@ -1049,7 +1066,7 @@ sound_input_start_recording()
*****************************************************************************/ *****************************************************************************/
static int APP_CC static int APP_CC
sound_input_stop_recording() sound_input_stop_recording(void)
{ {
struct stream* s; struct stream* s;

@ -58,17 +58,4 @@ int APP_CC sound_check_wait_objs(void);
int APP_CC sound_data_in(struct stream* s, int chan_id, int chan_flags, int APP_CC sound_data_in(struct stream* s, int chan_id, int chan_flags,
int length, int total_length); int length, int total_length);
/* microphone related */
static int APP_CC sound_send_server_input_formats(void);
static int APP_CC sound_process_input_format(int aindex, int wFormatTag,
int nChannels, int nSamplesPerSec, int nAvgBytesPerSec,
int nBlockAlign, int wBitsPerSample, int cbSize, char *data);
static int APP_CC sound_process_input_formats(struct stream *s, int size);
static int APP_CC sound_input_start_recording();
static int APP_CC sound_input_stop_recording();
static int APP_CC sound_process_input_data(struct stream *s, int bytes);
static int DEFAULT_CC sound_sndsrvr_source_data_in(struct trans *trans);
#endif #endif

Loading…
Cancel
Save