shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaMuxer.java
@Implementation
  protected static void nativeStop(long nativeObject) {
    try {
      // Close the output stream.
      getStream(nativeObject).close();

      // Clear the stream from both internal caches.
      fdToStream.remove(outputStreams.remove(nativeObject).getFD());
    } catch (IOException e) {
      throw new RuntimeException("Unable to close temporary file.", e);
    }
  }
@Implementation
  protected static void nativeStop(long nativeObject) {
    try {
      // Close the output stream.
      getStream(nativeObject).close();

      // Clear the stream from both internal caches.
      fdToStream.remove(outputStreams.remove(nativeObject).getFD());
    } catch (IOException e) {
      throw new RuntimeException("Unable to close temporary file.", e);
    }
  }
@ Implementation protected static void nativeStop ( long nativeObject ) { try { // Close the output stream. getStream ( nativeObject ) . close ( ) ; // Clear the stream from both internal caches. fdToStream . remove ( outputStreams . remove ( nativeObject ) . getFD ( ) ) ; } catch ( IOException e ) { throw new RuntimeException ( "Unable to close temporary file." , e ) ; } }
Closes the FileOutputStream for the associated muxer.
Closes the FileOutputStream for the associated muxer .