203204205206207208209210211212213
{ out.notify(); } synchronized (out) { out.wait(); out.reset(); } } } }
237238239240241242243244245246247
while (!finished[0]) { byte[] play = null; synchronized (out) { out.wait(); if (out.size() > 0) { play = out.toByteArray(); } out.notify();