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

Commit eb7fc0bd authored by vivek mehta's avatar vivek mehta Committed by android-build-merger
Browse files

Merge "audioflinger: extend max i/p channel to 8 channels" into nyc-dev

am: a605dafc

* commit 'a605dafc':
  audioflinger: extend max i/p channel to 8 channels

Change-Id: Iefd24213da12d8635d2672454c2cd40fb6ba96a4
parents a3e5d028 a605dafc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2112,8 +2112,8 @@ sp<AudioFlinger::RecordThread> AudioFlinger::openInput_l(audio_module_handle_t m
        audio_is_linear_pcm(config->format) &&
        audio_is_linear_pcm(halconfig.format) &&
        (halconfig.sample_rate <= AUDIO_RESAMPLER_DOWN_RATIO_MAX * config->sample_rate) &&
        (audio_channel_count_from_in_mask(halconfig.channel_mask) <= FCC_2) &&
        (audio_channel_count_from_in_mask(config->channel_mask) <= FCC_2)) {
        (audio_channel_count_from_in_mask(halconfig.channel_mask) <= FCC_8) &&
        (audio_channel_count_from_in_mask(config->channel_mask) <= FCC_8)) {
        // FIXME describe the change proposed by HAL (save old values so we can log them here)
        ALOGV("openInput_l() reopening with proposed sampling rate and channel mask");
        inStream = NULL;