summaryrefslogtreecommitdiff
path: root/system/embdrv/lc3_dec/Decoder/DecoderFrame.cpp
diff options
context:
space:
mode:
authorJakub Tyszkowski <jakub.tyszkowski@codecoup.pl>2022-01-11 20:41:15 +0100
committerJakub Tyszkowski <jakub.tyszkowski@codecoup.pl>2022-01-11 21:03:12 +0100
commite781147e92180624b15d5791c564f8ea9556e6ad (patch)
tree808f1e746796784577ac7b61aaebedbb92dfbdbc /system/embdrv/lc3_dec/Decoder/DecoderFrame.cpp
parent19a6b14f845f98de8397e6e63aec6caeaa89dcf0 (diff)
le_audio/client_audio: Fix deadlock on Stop()
During the Stop() call, `send_audio()` may still be triggered from the other thread. Stop() call locks the mutex and waits for the periodic task to end, while the periodic task might already be waiting for the same mutex to be released so that it could sink the audio samples with OnAudioDataReady() callback. Bug: 150670922 Tag: #feature Test: atest --host bluetooth_le_audio_test Sponsor: jpawlowski@ Change-Id: If3653077bb11bd3e4c7034ce727597c9e7250b6f
Diffstat (limited to 'system/embdrv/lc3_dec/Decoder/DecoderFrame.cpp')
0 files changed, 0 insertions, 0 deletions