mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
rate: dynamic update avail_min on slave
Signed-off-by: Andreas Pape <apape@de.adit-jv.com> Signed-off-by: Jiada Wang <jiada_wang@mentor.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
88e4ae27bb
commit
ff1f669df4
3 changed files with 6 additions and 3 deletions
|
|
@ -535,8 +535,8 @@ static int snd_pcm_plugin_status(snd_pcm_t *pcm, snd_pcm_status_t * status)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int snd_pcm_plugin_may_wait_for_avail_min(snd_pcm_t *pcm,
|
||||
snd_pcm_uframes_t avail)
|
||||
int snd_pcm_plugin_may_wait_for_avail_min(snd_pcm_t *pcm,
|
||||
snd_pcm_uframes_t avail)
|
||||
{
|
||||
if (pcm->stream == SND_PCM_STREAM_CAPTURE &&
|
||||
pcm->access != SND_PCM_ACCESS_RW_INTERLEAVED &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue