am 1482406b
: usbaudio: fix for out->dev->lock remains locked in error case
* commit '1482406b70a254fc85d153a7066d7f90d724d195': usbaudio: fix for out->dev->lock remains locked in error case
This commit is contained in:
commit
ee4e28c9eb
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ static ssize_t out_write(struct audio_stream_out *stream, const void* buffer,
|
|||
|
||||
err:
|
||||
pthread_mutex_unlock(&out->lock);
|
||||
|
||||
pthread_mutex_unlock(&out->dev->lock);
|
||||
if (ret != 0) {
|
||||
usleep(bytes * 1000000 / audio_stream_frame_size(&stream->common) /
|
||||
out_get_sample_rate(&stream->common));
|
||||
|
|
Loading…
Reference in a new issue