示例#1
0
 private void stopCold() {
   if (m_thread != null) {
     m_thread.interrupt();
     try {
       m_thread.join();
     } catch (InterruptedException e) {
     }
     m_thread = null;
   }
 }
示例#2
0
 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();
 }