0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00
This commit is contained in:
2025-03-08 21:51:34 +01:00
parent 9ea27e7b4c
commit 835a53ef7b

View File

@@ -12,7 +12,7 @@
#include "../lib/constants.h"
#include "../lib/oscillator.h"
#define FREQ 1000
#define FREQ 1000.0f
#define SAMPLE_RATE 4000
#define OUTPUT_DEVICE "alsa_output.platform-soc_sound.stereo-fallback"
@@ -47,12 +47,12 @@ void show_help(char *name) {
printf(
"Usage: %s\n"
" -i,--input Override input device [default: %s]\n"
" -F,--frequency GTS Frequency [default: %.2f]\n"
" -F,--frequency GTS Frequency [default: %.1f]\n"
" -s,--samplerate Output Samplerate [default: %d]\n"
,name
,OUTPUT_DEVICE
,FREQ
,(int)FREQ
,(int)SAMPLE_RATE
);
}