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

Commit 701b0a16 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "aaudio: return result of createMmapBuffer"

parents 1740a5c9 18d1e6c0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -186,7 +186,8 @@ aaudio_result_t AAudioServiceEndpointMMAP::openWithFormat(audio_format_t audioFo
    ALOGD("%s() deviceId = %d, sessionId = %d", __func__, getDeviceId(), getSessionId());

    // Create MMAP/NOIRQ buffer.
    if (createMmapBuffer(&mAudioDataFileDescriptor) != AAUDIO_OK) {
    result = createMmapBuffer(&mAudioDataFileDescriptor);
    if (result != AAUDIO_OK) {
        goto error;
    }