Home | History | Annotate | Download | only in media

Lines Matching defs:SOURCE

2  * Copyright (C) 2008 The Android Open Source Project
138 @Retention(RetentionPolicy.SOURCE)
259 * @param audioSource the recording source.
260 * See {@link MediaRecorder.AudioSource} for the recording source definitions.
265 * which is usually the sample rate of the source.
302 * source for this instance.
457 * recording source and audio format parameters, you indicate which of
474 * If the audio source is not set with {@link #setAudioSource(int)},
482 * the minimum buffer size for the source is used.
497 * @param source the audio source.
498 * See {@link MediaRecorder.AudioSource} for the supported audio source definitions.
502 public Builder setAudioSource(int source) throws IllegalArgumentException {
503 if ( (source < MediaRecorder.AudioSource.DEFAULT) ||
504 (source > MediaRecorder.getAudioSourceMax()) ) {
505 throw new IllegalArgumentException("Invalid audio source " + source);
508 .setInternalCapturePreset(source)
556 * Since bufferSizeInBytes may be internally increased to accommodate the source
681 // audio source
686 throw new IllegalArgumentException("Invalid audio source " + audioSource);
771 * then the sink sample rate is a route-dependent default value based on the source [sic].
778 * Returns the audio recording source.
859 * source on creation or if the <code>AudioRecord</code>
1578 * @param deviceInfo The {@link AudioDeviceInfo} specifying the audio source.
1825 * Key to extract the Source Type for this track
1829 public static final String SOURCE = "android.media.audiorecord.source";