From bcb411c1d7e5acfbff62f0aa87d10c2f3ca89e42 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 10 Mar 2000 14:05:49 +0000 Subject: [PATCH] Fixed return value for snd_pcm_close --- src/pcm/pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c index 99fccae2..d25ac4b2 100644 --- a/src/pcm/pcm.c +++ b/src/pcm/pcm.c @@ -149,7 +149,7 @@ int snd_pcm_open_subdevice(snd_pcm_t **handle, int card, int device, int subdevi int snd_pcm_close(snd_pcm_t *pcm) { - int res = -EINVAL; + int res = 0; int channel; if (!pcm) -- 2.47.1