mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-27 11:33:54 +01:00
NOW?
This commit is contained in:
@@ -115,7 +115,7 @@ int main() {
|
||||
"StereoEncoder",
|
||||
PA_STREAM_RECORD,
|
||||
RDS_INPUT,
|
||||
"Audio Input",
|
||||
"RDS Input",
|
||||
&mono_format,
|
||||
NULL,
|
||||
&input_buffer_atr,
|
||||
@@ -170,8 +170,8 @@ int main() {
|
||||
fprintf(stderr, "Error reading from input device.\n");
|
||||
break;
|
||||
}
|
||||
stereo_s16le_to_float(input, left, right, sizeof(input));
|
||||
mono_s16le_to_float(input_rds, rds_data, sizeof(input_rds));
|
||||
stereo_s16le_to_float(input, left, right, BUFFER_SIZE*2);
|
||||
mono_s16le_to_float(input_rds, rds_data, BUFFER_SIZE);
|
||||
|
||||
for (int i = 0; i < BUFFER_SIZE; i++) {
|
||||
float pilot = get_next_sample(&pilot_osc);
|
||||
|
||||
Reference in New Issue
Block a user