timing_recovery is timing_recovery_cc

This commit is contained in:
ha7ilm 2017-03-03 11:20:49 +01:00
parent 2af14b8082
commit ccf09a1b99
3 changed files with 3 additions and 3 deletions

2
csdr.c
View file

@ -2373,7 +2373,7 @@ int main(int argc, char *argv[])
for(;;)
{
FEOF_CHECK;
timing_recovery((complexf*)input_buffer, (complexf*)output_buffer, the_bufsize, &state);
timing_recovery_cc((complexf*)input_buffer, (complexf*)output_buffer, the_bufsize, &state);
//fprintf(stderr, "os %d\n",state.output_size);
fwrite(output_buffer, sizeof(complexf), state.output_size, stdout);
fflush(stdout);

View file

@ -1653,7 +1653,7 @@ timing_recovery_state_t timing_recovery_init(timing_recovery_algorithm_t algorit
return to_return;
}
int timing_recovery(complexf* input, complexf* output, int input_size, timing_recovery_state_t* state)
void timing_recovery_cc(complexf* input, complexf* output, int input_size, timing_recovery_state_t* state)
{
//We always assume that the input starts at center of the first symbol cross before the first symbol.
//Last time we consumed that much from the input samples that it is there.

View file

@ -306,6 +306,6 @@ typedef struct timing_recovery_state_s
} timing_recovery_state_t;
timing_recovery_state_t timing_recovery_init(timing_recovery_algorithm_t algorithm, int decimation_rate, int use_q);
int timing_recovery(complexf* input, complexf* output, int input_length, timing_recovery_state_t* state);
void timing_recovery_cc(complexf* input, complexf* output, int input_length, timing_recovery_state_t* state);
timing_recovery_algorithm_t timing_recovery_get_algorithm_from_string(char* input);
char* timing_recovery_get_string_from_algorithm(timing_recovery_algorithm_t algorithm);