mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-06 13:29:59 -05:00
Removed old sync support. Introduced linked streams
This commit is contained in:
parent
bd532fd398
commit
59c6c40f5c
4 changed files with 65 additions and 47 deletions
|
|
@ -181,7 +181,7 @@ static int snd_pcm_hw_pause(void *private, int enable)
|
|||
{
|
||||
snd_pcm_hw_t *hw = (snd_pcm_hw_t*) private;
|
||||
int fd = hw->fd;
|
||||
if (ioctl(fd, SND_PCM_IOCTL_PAUSE, &enable) < 0)
|
||||
if (ioctl(fd, SND_PCM_IOCTL_PAUSE, enable) < 0)
|
||||
return -errno;
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue