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

Commit c932c7fb authored by Tao Wu's avatar Tao Wu Committed by android-build-merger
Browse files

Merge "AudioFlinger: Initialize frames to zero." am: af5e66cb am: ddb2d1dc

am: e8bf2403

Change-Id: I792df23cd85a0e47ae01d4117378fc491f4e14ab
parents 596f057a e8bf2403
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1573,7 +1573,7 @@ size_t AudioFlinger::getInputBufferSize(uint32_t sampleRate, audio_format_t form
    proposed.format = format;

    sp<DeviceHalInterface> dev = mPrimaryHardwareDev->hwDevice();
    size_t frames;
    size_t frames = 0;
    for (;;) {
        // Note: config is currently a const parameter for get_input_buffer_size()
        // but we use a copy from proposed in case config changes from the call.