Fixed return value for snd_pcm_close

This commit is contained in:
Jaroslav Kysela 2000-03-10 14:05:49 +00:00
parent e3973d6fc9
commit bcb411c1d7

View file

@ -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)