]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: dmix: Return error when slave is in OPEN or DISCONNECTED
authorTakashi Iwai <tiwai@suse.de>
Tue, 31 May 2016 10:48:40 +0000 (12:48 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 1 Jun 2016 05:57:54 +0000 (07:57 +0200)
commit614ce73d3d6eba13946f863bec24981d355902e1
treea9ea52c138518cc1ef5abe8c4042e268edd11168
parent8feb96ed9b457c2aa62ddea2c48651475b7c3411
pcm: dmix: Return error when slave is in OPEN or DISCONNECTED

A slave PCM in OPEN or DISCONNECTED state can't be used properly at
all, so the best option is to return -EBADFD error.

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