Lines Matching defs:rate

348      * Set video frame capture rate. This can be used to set a different video frame capture
349 * rate than the recorded video's playback rate. This method also sets the recording mode
360 * given rate due to camera/encoder limitations. However it tries to be as close as
461 * Sets the frame rate of the video to be captured. Must be called
465 * @param rate the number of frames per second of video to capture
469 * NOTE: On some devices that have auto-frame rate, this sets the
470 * maximum frame rate, not a constant frame rate. Actual frame rate
473 public native void setVideoFrameRate(int rate) throws IllegalStateException;
532 * Sets the audio sampling rate for recording. Call this method before prepare().
534 * the specified audio sampling rate is applicable. The sampling rate really depends
536 * For instance, the sampling rate supported by AAC audio coding standard ranges
537 * from 8 to 96 kHz, the sampling rate supported by AMRNB is 8kHz, and the sampling
538 * rate supported by AMRWB is 16kHz. Please consult with the related audio coding
539 * standard for the supported audio sampling rate.
541 * @param samplingRate the sampling rate for audio in samples per second.
545 throw new IllegalArgumentException("Audio sampling rate is not positive");
547 setParameter("audio-param-sampling-rate=" + samplingRate);
566 * Sets the audio encoding bit rate for recording. Call this method before prepare().
568 * specified bit rate is applicable, and sometimes the passed bitRate will be clipped
572 * @param bitRate the audio encoding bit rate in bits per second.
576 throw new IllegalArgumentException("Audio encoding bit rate is not positive");
582 * Sets the video encoding bit rate for recording. Call this method before prepare().
584 * specified bit rate is applicable, and sometimes the passed bitRate will be
588 * @param bitRate the video encoding bit rate in bits per second.
592 throw new IllegalArgumentException("Video encoding bit rate is not positive");