7980818283848586878889
bytes = input.read(buffer, index, 4096); } catch (Exception ex) { LOG.log(Level.SEVERE, null, ex); return; } oy.wrote(bytes); // Get the first page. if (oy.pageout(og) != 1) { // have we simply run out of data? If so, we're done. if (bytes < 4096) {
178179180181182183184185186187188
} if (bytes == 0 && i < 2) { LOG.log(Level.SEVERE, "End of file before finding all Vorbis headers!"); return; } oy.wrote(bytes); } // Throw the comments plus a few lines about the bitstream we're // decoding {
293294295296297298299300301302303
bytes = input.read(buffer, index, 4096); } catch (Exception ex) { LOG.log(Level.SEVERE, null, ex); return; } oy.wrote(bytes); if (bytes == 0) { eos = 1; } } }