Exemple #1
0
 @Override
 public synchronized void close() {
   if (isRunning()) {
     throw new RuntimeException("Cannot close graph while it is running!");
   }
   if (mLogVerbose) Log.v(TAG, "Closing filters.");
   mRunner.close();
 }
Exemple #2
0
 @Override
 public FilterGraph getGraph() {
   return mRunner != null ? mRunner.getGraph() : null;
 }