This commit is contained in:
Alice Kærast 2013-03-24 07:16:31 -07:00
commit 8a39bdc7c0
3 changed files with 4 additions and 2 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*.o
acarsdec

2
README
View file

@ -29,7 +29,7 @@ acarsdec could be called with the following options :
acarsdec [-LR][-s noport] -d alsapcmdevice | -f sndfile
-f sndfile : decode from file sndfile (ie: a .wav file)
-d alsapcmdevice : decode from soundcard input alsapcmdevice (ie: hw:0,0)
[-LR] : diseable left or right channel decoding of stereo signal (save cpu)
[-LR] : disable left or right channel decoding of stereo signal (save cpu)
[-s noport ] : "xastir" mode : act as an APRS local server, on port : noport (see below)
Input could be mono or stereo but with 48Khz sampling frequency.

2
main.c
View file

@ -38,7 +38,7 @@ static void usage(void)
fprintf(stderr, "Usage: acarsdec [-LR][-s noport] -d alsapcmdevice | -f sndfile \n");
fprintf(stderr, " -f sndfile :\t\tdecode from file sndfile (ie: a .wav file)\n");
fprintf(stderr, " -d alsapcmdevice :\tdecode from soundcard input alsapcmdevice (ie: hw:0,0)\n");
fprintf(stderr, " [-LR] :\t\tdiseable left or right channel decoding of stereo signal\n");
fprintf(stderr, " [-LR] :\t\tdisable left or right channel decoding of stereo signal\n");
fprintf(stderr, " [-s noport ] :\t\tact as an APRS local server, on port : noport\n");
fprintf(stderr, "Input could be mono or stereo but with 48Khz sampling frequency.\nIf stereo, acarsdec will demod the 2 channels independantly (if no L ou R options specified)\n\n");
exit(1);