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

@@ -219,13 +219,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_chan_type == 0)
num_chan_type = 1; /* use defualt */
if (num_kanal != num_chan_type) {
fprintf(stdout, "You need to specify as many channel types as you have channels.\n");
fprintf(stderr, "You need to specify as many channel types as you have channels.\n");
exit(0);
}