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

Commit 631f81a0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "DownmixBufferProvider: Assign buffer frame count" into main

parents 5675e331 68242df3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -185,6 +185,8 @@ DownmixerBufferProvider::DownmixerBufferProvider(
     mDownmixConfig.inputCfg.mask = EFFECT_CONFIG_SMP_RATE | EFFECT_CONFIG_CHANNELS |
             EFFECT_CONFIG_FORMAT | EFFECT_CONFIG_ACC_MODE;
     mDownmixConfig.outputCfg.mask = mDownmixConfig.inputCfg.mask;
     mDownmixConfig.inputCfg.buffer.frameCount = bufferFrameCount;
     mDownmixConfig.outputCfg.buffer.frameCount = bufferFrameCount;

     mInFrameSize =
             audio_bytes_per_sample(format) * audio_channel_count_from_out_mask(inputChannelMask);