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

Skip to content
Commit 9c3ca59c authored by Jakub Tyszkowski's avatar Jakub Tyszkowski
Browse files

LeAudio: Fix buffer size type conversion for the SW encoder

The LC3 software codec uses the value of -1 to indicate the invalid number
of samples, while the codec interface uses 0 (and unsigned data type).
With this fix we handle -1 gracefully.

Bug: 377177980
Test: m -j
Flag: Exempt; trivial fix - no functional changes
Change-Id: Ibc970a240fbedba0e9c0cdb887a0a7495e25a946
parent a411fa9a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment