]> git.alsa-project.org Git - alsa-plugins.git/commit
a52: Ignore start request if we're already running
authorDavid Henningsson <david.henningsson@canonical.com>
Wed, 12 Nov 2014 14:55:43 +0000 (15:55 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 12 Nov 2014 15:14:24 +0000 (16:14 +0100)
commita0693150dfd428fdd4df474efdc6b5e26a41ba21
treed5628b4888b524213c5726e67f63e3475e44f91d
parent3089c5826289f923c8bc63855da681cfdc7125d6
a52: Ignore start request if we're already running

When trying to start a PCM that's already running, the result is EBADFD.
We might have implicitly started the buffer by filling it up,
so just ignore this request if we're already running.

Reported-by: Chow Loong Jin <hyperair@ubuntu.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
a52/pcm_a52.c