示例#1
0
 public void stop() {
   if (sampler != null) {
     sampler.stop();
     sampler = null;
   }
 }
示例#2
0
 public void start() {
   if (sampler == null) {
     sampler = new SamplerThread();
     sampler.start();
   }
 }