OSDN Git Service

pcm: Do not access lock_enabled if thread safe API
authorTimo Wischer <twischer@de.adit-jv.com>
Thu, 1 Mar 2018 16:34:44 +0000 (17:34 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 1 Mar 2018 17:01:36 +0000 (18:01 +0100)
commit9c2fb31d0ec13692eeefe1013b1f031da0e71395
tree298847af64f03e97968afe7c95e87afe78030932
parent543a9eac5d857c5a629e81c37d97102de537516a
pcm: Do not access lock_enabled if thread safe API

Without this commit compiling fails when THREAD_SAFE_API is not
enabled.

Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm.c