Fix after aosp/2836447 am: d664a63cf4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2848064 Change-Id: I4c364ff7936054a59ea4fe81bed4772ff0e16d5a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
4b200f5e55
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ StreamPrimary::StreamPrimary(StreamContext* context, const Metadata& metadata)
|
|||
} else {
|
||||
LOG(DEBUG) << __func__ << ": skipping transfer (" << frameCount << " frames)";
|
||||
*actualFrameCount = frameCount;
|
||||
if (mIsInput) memset(buffer, 0, frameCount);
|
||||
if (mIsInput) memset(buffer, 0, frameCount * mFrameSizeBytes);
|
||||
mSkipNextTransfer = false;
|
||||
}
|
||||
if (!mIsAsynchronous) {
|
||||
|
|
Loading…
Reference in a new issue