]> git.alsa-project.org Git - alsa-lib.git/commit
pcm/ioplug: fix error code in start callback
authorTakashi Iwai <tiwai@suse.de>
Thu, 20 Aug 2009 23:34:29 +0000 (01:34 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 20 Aug 2009 23:34:29 +0000 (01:34 +0200)
commitcbf5675eef5d4194532d3a57c8b5d4c0af831ed7
treef688faf1f4d36e6d6ae95fa834e65d3fa6e40761
parentbd5389278c96f585afcac4058420e4f3ac201d2a
pcm/ioplug: fix error code in start callback

When snd_pcm_start() is called in the invalid state, it should return
-EBADFD.  But ioplug plugin returns -EAGAIN.  Let's fix it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_ioplug.c