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

Commit e8b51e28 authored by Arne Coucheron's avatar Arne Coucheron
Browse files

Revert "fm: fix openRecord prototype"

This reverts commit 89ad23a2.

Change-Id: Ided3ea4b0d9b88d604cff18c0fa7ed2a8e2c072e
parent dbfb39e8
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -127,15 +127,13 @@ status_t FMRadioSource::openRecord(int frameCount, audio_io_handle_t input)
        return NO_INIT;
    }

    pid_t tid = gettid(); // or -1;

    sp<IAudioRecord> record = audioFlinger->openRecord(input,
    sp<IAudioRecord> record = audioFlinger->openRecord(getpid(), input,
                                                       kSampleRate,
                                                       kAudioFormat,
                                                       kChannelMask,
                                                       frameCount,
                                                       IAudioFlinger::TRACK_DEFAULT,
                                                       tid,
                                                       gettid(),
                                                       &mSessionId,
                                                       &status);