OSDN Git Service

Protect reset of out stream with mutex
authorNitin Srivastava <nitinsr@codeaurora.org>
Mon, 22 Dec 2014 14:24:09 +0000 (19:54 +0530)
committerAndre Eisenbach <eisenbach@google.com>
Mon, 13 Apr 2015 07:14:34 +0000 (07:14 +0000)
commit764babe943fc2e559923c7bf8514664187808ddd
tree0f2a7b27d276f36c8f895da5661e7cb6fb302ddf
parent444a8da807abaf5f9e813ce70c56a79160495fb3
Protect reset of out stream with mutex

Protect reset of out stream with mutex so that the access
of the same is properly synchronized in multi-threaded environment.

Change-Id: I6dd81d8c7fa219ee8d1e4d82aa1e7ec52dcecec8
audio_a2dp_hw/audio_a2dp_hw.c