mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Fixed return value for snd_pcm_close
This commit is contained in:
parent
e3973d6fc9
commit
bcb411c1d7
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue