private void stopCold() { if (m_thread != null) { m_thread.interrupt(); try { m_thread.join(); } catch (InterruptedException e) { } m_thread = null; } }
public void play() { String[] ca = new String[3]; ca[0] = c_playCommand; ca[1] = "-q"; ca[2] = m_storage.getSongPath(m_song); m_thread = new ExecThread(ca, this); m_thread.start(); }