/** * Stop wav play back * */ public static void stopWavFile() { m_clip.stop(); m_clip.flush(); m_clip.close(); }
/** * Stop wav play back * */ public static void stopWavFile() { m_clip.stop(); m_clip.flush(); m_clip.close(); }
@Override protected void stopImpl() { impl.stop(); impl.flush(); }
@Override protected void stopImpl() { impl.stop(); impl.flush(); }
@Override protected void stopImpl() { impl.stop(); impl.flush(); }
@Override protected void stopImpl() { impl.stop(); impl.flush(); }
/** * Closes the audio file and frees the resources used. */ public void close() { if (audioClip != null) { audioClip.flush(); audioClip.close(); audioClip = null; } }
/** * Stops playing the clip and disposes it; the clip cannot be * played after being disposed. */ void dispose() { if (clip != null) { clip.stop(); clip.flush(); clip.close(); } clip = null; }
public void interrompe(boolean fechaClip) { if (clip == null) { return; } clip.stop(); clip.flush(); if (fechaClip) { clip.close(); } } }
public void pausa(boolean fechaClip) { if (clip == null) { return; } clipTime=clip.getMicrosecondPosition(); clip.stop(); clip.flush(); if (fechaClip) { clip.close(); } }
/** * Stops the channel, dequeues any queued data, and closes the channel. */ @Override public void close() { switch( channelType ) { case SoundSystemConfig.TYPE_NORMAL: if( clip != null ) { clip.stop(); clip.flush(); clip.close(); } break; case SoundSystemConfig.TYPE_STREAMING: if( sourceDataLine != null ) { flush(); sourceDataLine.close(); } break; default: break; } }
clip.flush(); clip.close();