Searched refs:audioSource (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/media/java/android/media/ |
H A D | AudioRecord.java | 195 * @param audioSource the recording source. See {@link MediaRecorder.AudioSource} for 212 public AudioRecord(int audioSource, int sampleRateInHz, int channelConfig, int audioFormat, argument 223 audioParamCheck(audioSource, sampleRateInHz, channelConfig, audioFormat); 249 private void audioParamCheck(int audioSource, int sampleRateInHz, argument 254 if ( (audioSource < MediaRecorder.AudioSource.DEFAULT) || 255 (audioSource > MediaRecorder.AudioSource.VOICE_COMMUNICATION) ) { 256 //(audioSource > MediaRecorder.getAudioSourceMax()) ) { 259 mRecordSource = audioSource;
|
/frameworks/base/cmds/stagefright/ |
H A D | record.cpp | 306 sp<MediaSource> audioSource = new SineSource(kSampleRate, kNumChannels); local 311 player->setSource(audioSource); 328 OMXCodec::Create(client.interface(), encMeta, true, audioSource);
|
/frameworks/base/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 670 sp<AudioSource> audioSource = local 676 status_t err = audioSource->initCheck(); 703 CHECK(audioSource->getFormat()->findInt32( 719 true /* createEncoder */, audioSource); 720 mAudioSourceNode = audioSource;
|
Completed in 121 milliseconds