Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8240411 authored by Paul McLean's avatar Paul McLean Committed by Android (Google) Code Review
Browse files

Merge "AudioRecord device select continued" into mnc-dev

parents 5af4cc39 6bd27e1a
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -587,9 +587,8 @@ static jint android_media_AudioRecord_get_min_buff_size(JNIEnv *env, jobject th
static jboolean android_media_AudioRecord_setInputDevice(
        JNIEnv *env,  jobject thiz, jint device_id) {

//    sp<AudioRecord> lpRecorder = getAudioRecord(env, thiz);
//    return lpRecorder->setInputDevice(device_id) == NO_ERROR;
    return false;
    sp<AudioRecord> lpRecorder = getAudioRecord(env, thiz);
    return lpRecorder->setInputDevice(device_id) == NO_ERROR;
}

// ----------------------------------------------------------------------------