mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
dsnoop: Make use of the (previously unused) function
Match the equivalent funciton for playback. This is on the assumption that values should be capped at zero, which is what _rewindable() implements. Signed-off-by: Mark Hills <mark@xwax.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
ad0684089e
commit
46c65dd490
1 changed files with 1 additions and 1 deletions
|
|
@ -352,7 +352,7 @@ static int snd_pcm_dsnoop_pause(snd_pcm_t *pcm ATTRIBUTE_UNUSED, int enable ATTR
|
||||||
|
|
||||||
static snd_pcm_sframes_t snd_pcm_dsnoop_rewindable(snd_pcm_t *pcm)
|
static snd_pcm_sframes_t snd_pcm_dsnoop_rewindable(snd_pcm_t *pcm)
|
||||||
{
|
{
|
||||||
return snd_pcm_mmap_capture_hw_avail(pcm);
|
return snd_pcm_mmap_capture_hw_rewindable(pcm);
|
||||||
}
|
}
|
||||||
|
|
||||||
static snd_pcm_sframes_t snd_pcm_dsnoop_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
|
static snd_pcm_sframes_t snd_pcm_dsnoop_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue