Skip to content

Commit 11071bb

Browse files
committed
Improve error message for audio output failure.
1 parent be70598 commit 11071bb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

audio_win.c

+8
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,15 @@ int audio_put (int a, int c)
951951
timeout--;
952952
if (timeout <= 0) {
953953
text_color_set(DW_COLOR_ERROR);
954+
955+
// TODO: open issues 78 & 165. How can we avoid/improve this?
956+
954957
dw_printf ("Audio output failure waiting for buffer.\n");
958+
dw_printf ("This can occur when we are producing audio output for\n");
959+
dw_printf ("transmit and the operating system doesn't provide buffer\n");
960+
dw_printf ("space after waiting and retrying many times.\n");
961+
//dw_printf ("In recent years, this has been reported only when running the\n");
962+
//dw_printf ("Windows version with VMWare on a Macintosh.\n");
955963
ptt_term ();
956964
return (-1);
957965
}

0 commit comments

Comments
 (0)