Lines Matching refs:file

5  * you may not use this file except in compliance with the License.
400 /** 3GPP media file format*/
402 /** MPEG4 media file format*/
408 * AMR NB file format
413 /** AMR NB file format */
416 /** AMR WB file format */
419 /** @hide AAC ADIF file format */
422 /** AAC ADTS file format */
478 * called, the output file will not contain an audio track. The source needs
499 * called, the output file will not contain an video track. The source needs
585 * Set and store the geodata (latitude and longitude) in the output file.
618 * Sets the format of the output file produced during recording. Call this
694 * called, the output file will not contain an audio track. Call this after
707 * called, the output file will not contain an video track. Call this after
833 * Pass in the file descriptor of the file to be written. Call this after
836 * @param fd an open file descriptor to be written into.
848 * Pass in the file object to be written. Call this after setOutputFormat() but before prepare().
849 * File should be seekable. After setting the next output file, application should not use the
850 * file until {@link #stop}. Application is responsible for cleaning up unused files after
853 * @param file the file object to be written into.
855 public void setOutputFile(File file)
859 mFile = file;
863 * Sets the next output file descriptor to be used when the maximum filesize is reached
865 * must be seekable and writable. After setting the next output file, application should not
866 * use the file referenced by this file descriptor until {@link #stop}. It is the application's
867 * responsibility to close the file descriptor. It is safe to do so as soon as this call returns.
871 * {@link #MEDIA_RECORDER_INFO_MAX_FILESIZE_REACHED}. The file is not used until switching to
873 * when the next output file is used. Application will not be able to set a new output file if
877 * @param fd an open file descriptor to be written into.
887 * Sets the path of the output file to be produced. Call this after
902 * Sets the next output file to be used when the maximum filesize is reached on the prior
904 * After setting the next output file, application should not use the file until {@link #stop}.
908 * {@link #MEDIA_RECORDER_INFO_MAX_FILESIZE_REACHED}. The file is not used until switching to
910 * when the next output file is used. Application will not be able to set a new output file if
914 * @param file The file to use.
918 public void setNextOutputFile(File file) throws IOException
920 RandomAccessFile f = new RandomAccessFile(file, "rws");
936 * encoders, file format, etc., but before start().
945 RandomAccessFile file = new RandomAccessFile(mPath, "rws");
947 _setOutputFile(file.getFD());
949 file.close();
954 RandomAccessFile file = new RandomAccessFile(mFile, "rws");
956 _setOutputFile(file.getFD());
958 file.close();
961 throw new IOException("No valid output file");
968 * Begins capturing and encoding data to the file specified with
989 * clean up the output file (delete the output file, for instance), since
990 * the output file is not properly constructed when this happens.
1102 * next output file through {@link #setNextOutputFile}.
1106 /** A maximum filesize had been setup and current recorded file size
1107 * has reached 90% of the limit. This is sent once per file upon
1109 * should use {@link #setNextOutputFile} to set the next output file.
1110 * Otherwise, recording will stop when reaching maximum file size.
1115 * output to a new file set by application {@link #setNextOutputFile}.
1117 * of whether the file previously set has been used or not.
1172 * purpose of eliminating the recording sound in the recorded file.