Skip to content

Commit 84a243d

Browse files
committed
Improve error message.
1 parent 5736b0f commit 84a243d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/audio.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,12 @@ int audio_get (int a)
10991099
dw_printf ("Audio input device %d error code %d: %s\n", a, n, snd_strerror(n));
11001100

11011101
if (n == (-EPIPE)) {
1102-
dw_printf ("This is most likely caused by the CPU being too slow to keep up with the audio stream.\n");
1102+
dw_printf ("If receiving is fine and strange things happen when transmitting, it is probably RF energy\n");
1103+
dw_printf ("getting into your audio or digital wiring. This can cause USB to lock up or PTT to get stuck on.\n");
1104+
dw_printf ("Move the radio, and especially the antenna, farther away from the computer.\n");
1105+
dw_printf ("Use shieled cable and put ferrite beads on the cables to reduce RF going where it is not wanted.\n");
1106+
dw_printf ("\n");
1107+
dw_printf ("A less likely cause is the CPU being too slow to keep up with the audio stream.\n");
11031108
dw_printf ("Use the \"top\" command, in another command window, to look at CPU usage.\n");
11041109
dw_printf ("This might be a temporary condition so we will attempt to recover a few times before giving up.\n");
11051110
dw_printf ("If using a very slow CPU, try reducing the CPU load by using -P- command\n");

0 commit comments

Comments
 (0)