mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-27 03:23:54 +01:00
fixes
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
#include "../lib/constants.h"
|
#include "../lib/constants.h"
|
||||||
#include "../lib/oscillator.h"
|
#include "../lib/oscillator.h"
|
||||||
|
|
||||||
#define FREQ 1000
|
#define FREQ 1000.0f
|
||||||
#define SAMPLE_RATE 4000
|
#define SAMPLE_RATE 4000
|
||||||
|
|
||||||
#define OUTPUT_DEVICE "alsa_output.platform-soc_sound.stereo-fallback"
|
#define OUTPUT_DEVICE "alsa_output.platform-soc_sound.stereo-fallback"
|
||||||
@@ -47,12 +47,12 @@ void show_help(char *name) {
|
|||||||
printf(
|
printf(
|
||||||
"Usage: %s\n"
|
"Usage: %s\n"
|
||||||
" -i,--input Override input device [default: %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"
|
" -s,--samplerate Output Samplerate [default: %d]\n"
|
||||||
,name
|
,name
|
||||||
,OUTPUT_DEVICE
|
,OUTPUT_DEVICE
|
||||||
,FREQ
|
,FREQ
|
||||||
,(int)FREQ
|
,(int)SAMPLE_RATE
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user