Skip to content
Snippets Groups Projects
Commit 018a4227 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

portaudiolayer: protect concurrent streams array access

Hotplug events may trigger a race condition when accessing the streams
array. This commit protects the access to the streams array by locking
a mutex. Locks are only acquired when streams are added, removed, or
initialized.

Gitlab: #1130
Change-Id: Ide0f2bfba47bf597981b26cce8d37ca076c7173b
parent 1bca75aa
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