mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-15 08:56:36 -05:00
Fixed returned value
This commit is contained in:
parent
05c84062b2
commit
2374c70bca
1 changed files with 1 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ static snd_pcm_sframes_t snd_pcm_hw_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t fra
|
||||||
SYSERR("SNDRV_PCM_IOCTL_REWIND failed");
|
SYSERR("SNDRV_PCM_IOCTL_REWIND failed");
|
||||||
return -errno;
|
return -errno;
|
||||||
}
|
}
|
||||||
return 0;
|
return frames;
|
||||||
}
|
}
|
||||||
|
|
||||||
static snd_pcm_sframes_t snd_pcm_hw_writei(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size)
|
static snd_pcm_sframes_t snd_pcm_hw_writei(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue