8889909192939495969798
} } catch (IOException e) { e.printStackTrace(); return; } finally { auline.drain(); auline.close(); } } }
8586878889909192939495
} catch (IOException e) { log.error( "IO-Error while write auline for " + fileName, e); return; } finally { auline.drain(); auline.close(); } } });
4344454647484950515253
} } catch (LineUnavailableException e) { //no-op } finally { if (sdl != null) { sdl.drain(); sdl.stop(); sdl.close(); } } }
while ((bytesRead = ais.read(data,0,data.length)) != -1) { line.write(data,0,bytesRead); } line.drain(); line.stop(); line.close(); } catch (Exception e) { System.out.println(e); }
149150151152153154155156157158159
temp[3] = buf[512 + i * 2 + 1]; line.write(temp, 0, 4); } } } line.drain(); line.stop(); line.close(); if (os != null) { os.flush(); os.close();
128129130131132133134135136137138
line.write(buf, 0, l); if (os != null) { os.write(buf, 0, l); } } line.drain(); line.stop(); line.close(); if (os != null) { os.close(); }
8990919293949596979899
167168169170171172173174175176177
while (is.available() > 0) { l = is.read(buf, 0, 1024); line.write(buf, 0, l); // os.write(buf, 0, l); } line.drain(); line.stop(); line.close(); // os.close(); } }
8485868788899091929394
} } catch (final IOException e) { o.failure(audioInputStream, e, "playsound:read", "Error getting sound data."); return; } finally { auline.drain(); auline.close(); } }
7980818283848586878889
nBytesWritten = 0; } } } line.drain(); line.close(); } catch (Exception e) { e.printStackTrace();