mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-16 08:56:42 -05: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 snd_pcm_close(snd_pcm_t *pcm)
|
||||||
{
|
{
|
||||||
int res = -EINVAL;
|
int res = 0;
|
||||||
int channel;
|
int channel;
|
||||||
|
|
||||||
if (!pcm)
|
if (!pcm)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue