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

Skip to content
Commit 2773dd72 authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

audiopolicy: Use C++11 atomics, factor out handle generation

Update the code to use C++11 atomics. Make sure that
unsigned ints are used as id counters (signed ints have undefined
overflow behavior). Factor out common code from AudioPatch
and AudioPort.

Test: compiles
Change-Id: Ic359e97795a6282a2937d88bead8a1de27c8db7a
parent a5e165d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment