Got the VCO output inverted (and the signal as well), so now the output and the input are actually in phase.
This commit is contained in:
parent
20a2cdc73c
commit
88068ec517
1 changed files with 4 additions and 4 deletions
6
csdr.c
6
csdr.c
|
@ -1988,9 +1988,9 @@ int main(int argc, char *argv[])
|
||||||
FREAD_C;
|
FREAD_C;
|
||||||
//pll_cc(&pll, (complexf*)input_buffer, NULL, (complexf*)output_buffer, the_bufsize);
|
//pll_cc(&pll, (complexf*)input_buffer, NULL, (complexf*)output_buffer, the_bufsize);
|
||||||
// fprintf(stderr, "| i");
|
// fprintf(stderr, "| i");
|
||||||
//pll_cc(&pll, (complexf*)input_buffer, output_buffer, NULL, the_bufsize);
|
pll_cc(&pll, (complexf*)input_buffer, output_buffer, NULL, the_bufsize);
|
||||||
pll_cc(&pll, (complexf*)input_buffer, NULL, (complexf*)output_buffer, the_bufsize);
|
//pll_cc(&pll, (complexf*)input_buffer, NULL, (complexf*)output_buffer, the_bufsize);
|
||||||
fwrite(output_buffer, sizeof(complexf), the_bufsize, stdout);
|
fwrite(output_buffer, sizeof(float), the_bufsize, stdout);
|
||||||
//fprintf(stderr, "| o");
|
//fprintf(stderr, "| o");
|
||||||
TRY_YIELD;
|
TRY_YIELD;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue