mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-01 22:58:49 -04:00
Fixed getting version..
This commit is contained in:
parent
0b124b53bf
commit
662fe6efa8
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ int snd_pcm_loopback_open(void **handle, int card, int device, int mode)
|
|||
if ((fd = open(filename, mode)) < 0)
|
||||
return -errno;
|
||||
}
|
||||
if (ioctl(fd, SND_PCM_IOCTL_PVERSION, &ver) < 0) {
|
||||
if (ioctl(fd, SND_PCM_LB_IOCTL_PVERSION, &ver) < 0) {
|
||||
close(fd);
|
||||
return -errno;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue