Skip to content

Commit 83c7de1

Browse files
committed
Improve error message.
1 parent 36a5dff commit 83c7de1

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/direwolf.c

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,13 @@ int main (int argc, char *argv[])
339339
#endif
340340

341341

342+
// TODO: Display hardware and OS version to help with troubleshooting.
343+
// cat /proc/cpuinfo | grep ^Model
344+
// BSD, Deb?: /etc/os-release
345+
// /etc/issue
346+
347+
348+
342349
/*
343350
* Starting with version 0.9, the prebuilt Windows version
344351
* requires a minimum of a Pentium 3 or equivalent so we can
@@ -1328,7 +1335,9 @@ void app_process_rec_packet (int chan, int subchan, int slice, packet_t pp, alev
13281335
if (alevel.rec > 110) {
13291336

13301337
text_color_set(DW_COLOR_ERROR);
1331-
dw_printf ("Audio input level is too high. Reduce so most stations are around 50.\n");
1338+
dw_printf ("Audio input level is too high. This may cause distortion and reduced decode performance.\n");
1339+
dw_printf ("Solution is to decrease the audio input level.\n");
1340+
dw_printf ("Setting audio input level so most stations are around 50 will provide good dyanmic range.\n");
13321341
}
13331342
// FIXME: rather than checking for ichannel, how about checking medium==radio
13341343
else if (alevel.rec < 5 && chan != audio_config.igate_vchannel && subchan != -3) {

0 commit comments

Comments
 (0)