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

Commit d1abb8f9 authored by Andy Hung's avatar Andy Hung
Browse files

Allow 8 channels in RecordThread

Change-Id: I738d4975188695e568015e1bc64d160550e958f5
parent 8b07404c
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -6691,9 +6691,7 @@ bool AudioFlinger::RecordThread::checkForNewParameter_l(const String8& keyValueP
                (mInput->stream->common.get_sample_rate(&mInput->stream->common)
                        <= (AUDIO_RESAMPLER_DOWN_RATIO_MAX * samplingRate)) &&
                audio_channel_count_from_in_mask(
                        mInput->stream->common.get_channels(&mInput->stream->common)) <= FCC_2 &&
                (channelMask == AUDIO_CHANNEL_IN_MONO ||
                        channelMask == AUDIO_CHANNEL_IN_STEREO)) {
                        mInput->stream->common.get_channels(&mInput->stream->common)) <= FCC_8) {
                status = NO_ERROR;
            }
            if (status == NO_ERROR) {