Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor documentation and maintainability fixes #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.o
acarsdec
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down