@Override public void reset() throws IOException { originalStream.reset(); }
@Override public void reset() throws IOException { originalStream.reset(); }
/** * Repositions this audio input stream to the position it had at the time its * <code>mark</code> method was last invoked. * * @throws IOException if an input or output error occurs. * @see #mark * @see #markSupported */ public void reset() throws IOException { stream.reset(); framePos = markpos; // re-create the pushback buffer pushBackLen = markPushBackLen; if (pushBackLen > 0) { if (pushBackBuffer == null) { pushBackBuffer = new byte[frameSize - 1]; } System.arraycopy(markPushBackBuffer, 0, pushBackBuffer, 0, pushBackLen); } }
@Override public synchronized void reset() throws IOException { if (sourceStream != null) { sourceStream.reset(); flush(); } }
public void setMediaTime(long timestamp) { this.timestamp = timestamp; try { stream.reset(); long offset = frameSize * (timestamp / period); stream.skip(offset); } catch (IOException e) { logger.error(e); } }
public void setMediaTime(long timestamp) { this.timestamp = timestamp; try { stream.reset(); long offset = frameSize * (timestamp / period); stream.skip(offset); } catch (IOException e) { logger.error(e); } }
public void setMediaTime(long timestamp) { this.timestamp = timestamp; try { stream.reset(); long offset = frameSize * (timestamp / period); stream.skip(offset); } catch (IOException e) { logger.error(e); } }
public void setMediaTime(long timestamp) { this.timestamp = timestamp; try { stream.reset(); long offset = frameSize * (timestamp / period); stream.skip(offset); } catch (IOException e) { logger.error(e); } }
public void setMediaTime(long timestamp) { this.timestamp = timestamp; try { stream.reset(); long offset = frameSize * (timestamp / period); stream.skip(offset); } catch (IOException e) { logger.error(e); } }
public void setMediaTime(long timestamp) { this.timestamp = timestamp; try { stream.reset(); long offset = frameSize * (timestamp / period); stream.skip(offset); } catch (IOException e) { logger.error(e); } }
public void setMediaTime(long timestamp) { this.timestamp = timestamp; try { stream.reset(); long offset = frameSize * (timestamp / period); stream.skip(offset); } catch (IOException e) { logger.error(e); } }
public void setMediaTime(long timestamp) { this.timestamp = timestamp; try { stream.reset(); long offset = frameSize * (timestamp / period); stream.skip(offset); } catch (IOException e) { logger.error(e); } }
public void setMediaTime(long timestamp) { this.timestamp = timestamp; try { stream.reset(); long offset = frameSize * (timestamp / period); stream.skip(offset); } catch (IOException e) { logger.error(e); } }
audioInputStream.reset(); } catch (Exception e) { return;
public void run() { while (audioInputStream == null) { try { // politely waiting for capture Thread to finish with audioInputStream. Thread.sleep(1000); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } } // reset to the beginnning of the captured data try { audioInputStream.reset(); } catch (Exception ex) { reportStatus(res.getString("Unable_to_reset") + ex); return; } if (post) postAudio(audioType, urlString); if (containingApplet != null) { JSObject window = (JSObject)JSObject.getWindow(containingApplet); window.call("callOpener", new Object[]{"clickReloadLink", window}); window.call("close", null); } } // end of run }; // end of saveAndPostThread
stream.reset(); Clip clip = AudioSystem.getClip(); clip.open(stream);
audioInputStream.reset(); } catch (Exception ex) { reportStatus(res.getString("Unable_to_reset") + ex);
audioStream.reset();
audioStream.reset();
audioInputStream.reset(); } catch (Exception e) { shutDown(res.getString("Unable_to_reset_the") + e);