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

Commit 6bd27e1a authored by Paul McLean's avatar Paul McLean Committed by Eric Laurent
Browse files

AudioRecord device select continued

Change-Id: I3b6ace370b878351d98dbdcba2db718b30de2f27
parent 2301174e
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;
}

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