mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-26 19:23:51 +01:00
try to fix errors
This commit is contained in:
12
src/fm95.c
12
src/fm95.c
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user