Skip to content
Snippets Groups Projects
Commit f8ba6bc8 authored by Philippe Gorley's avatar Philippe Gorley Committed by Adrien Béraud
Browse files

audio: clip audio signal when mixing

Blindly adding both signals results in over/underflows which show up in
the signal as noise, avoid that by clamping the result between min and
max for s16 samples.

Change-Id: Ibbb42d87497c662b5ba9085d4c9efb6f1e45a183
parent 2f78cf3f
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment