0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-27 03:23:54 +01:00

try to fix errors

This commit is contained in:
2025-03-21 15:10:22 +01:00
parent de5c37ea42
commit 753ded5ac8

View File

@@ -120,10 +120,12 @@ void show_help(char *name) {
int main(int argc, char **argv) { int main(int argc, char **argv) {
show_version(); show_version();
pa_simple *mpx_device; pa_simple *mpx_device = NULL
pa_simple *rds_device; pa_simple *rds_device = NULL
pa_simple *rds2_device; pa_simple *rds2_device = NULL;
pa_simple *sca_device; pa_simple *sca_device = NULL;
pa_simple *input_device;
pa_simple *output_device; pa_simple *output_device;
float clipper_threshold = DEFAULT_CLIPPER_THRESHOLD; float clipper_threshold = DEFAULT_CLIPPER_THRESHOLD;
@@ -288,7 +290,7 @@ int main(int argc, char **argv) {
printf("Connecting to input device... (%s)\n", audio_input_device); printf("Connecting to input device... (%s)\n", audio_input_device);
pa_simple *input_device = pa_simple_new( input_device = pa_simple_new(
NULL, NULL,
"fm95", "fm95",
PA_STREAM_RECORD, PA_STREAM_RECORD,