Output enhancements

* no more flicker on wave form display while scrolling
* dialing console gets cleared/overwritten correctly
* fixes on stderr output
This commit is contained in:
Andreas Eversberg
2016-11-28 09:16:48 +01:00
committed by Andreas Eversberg
parent 938fb74bae
commit d52d0242bf
10 changed files with 71 additions and 20 deletions

View File

@@ -155,13 +155,13 @@ int main(int argc, char *argv[])
if (num_kanal == 1 && num_sounddev == 0)
num_sounddev = 1; /* use defualt */
if (num_kanal != num_sounddev) {
fprintf(stdout, "You need to specify as many sound devices as you have channels.\n");
fprintf(stderr, "You need to specify as many sound devices as you have channels.\n");
exit(0);
}
if (num_kanal == 1 && num_pilot == 0)
num_pilot = 1; /* use defualt */
if (num_kanal != num_pilot) {
fprintf(stdout, "You need to specify as many pilot tone settings as you have channels.\n");
fprintf(stderr, "You need to specify as many pilot tone settings as you have channels.\n");
exit(0);
}