]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: return immediately when the state is SETUP in snd_pcm_drain()
authorJaroslav Kysela <perex@perex.cz>
Wed, 3 Jun 2020 16:42:29 +0000 (18:42 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 3 Jun 2020 16:42:36 +0000 (18:42 +0200)
commit0b7f1441bb82903d45a29bf83c849ca94c5b7d7e
tree02a3c6dc6ca55045fb931bd59e2fdb2838e407be
parent1b9104b5ff10be7f60441f622436d4f14a2a97d1
pcm: return immediately when the state is SETUP in snd_pcm_drain()

We are already in the target state. Do not call the plugin callback.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm.c