projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfc09e8
)
altosuilib: Don't drain voice when terminating display
author
Keith Packard
<keithp@keithp.com>
Mon, 2 Oct 2017 20:55:57 +0000
(13:55 -0700)
committer
Keith Packard
<keithp@keithp.com>
Mon, 2 Oct 2017 23:49:56 +0000
(16:49 -0700)
If the voice thread is wedged (as with PulseAudio and un-patched
freetts 1.2.2), we'll get stuck here and the UI will freeze up.
Signed-off-by: Keith Packard <keithp@keithp.com>
altosuilib/AltosDisplayThread.java
patch
|
blob
|
history
diff --git
a/altosuilib/AltosDisplayThread.java
b/altosuilib/AltosDisplayThread.java
index 3fcc02dac353bba782fb15b85218c69d7b20fcd3..5e691ac4c47683bb603ac163f28c4665f2206b2e 100644
(file)
--- a/
altosuilib/AltosDisplayThread.java
+++ b/
altosuilib/AltosDisplayThread.java
@@
-159,9
+159,6
@@
public class AltosDisplayThread extends Thread {
report(false);
}
} catch (InterruptedException ie) {
- try {
- voice.drain();
- } catch (InterruptedException iie) { }
}
}