mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
pcm: plugin status - revert the recent changes
It's no reason to sync the avail/delay fields using the mirrored buffer pointers. The slave information must be valid. The original report probably tries to fix something for the specific plugin. Revert all changes. Fixes:afe6ff3b33("pcm: plugin status - fix the return value (regression)") Fixes:4f90392f07("pcm: fix the snd_pcm_plugin_status() avail and delay fields") Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
afe6ff3b33
commit
49eea5d7bc
1 changed files with 0 additions and 2 deletions
|
|
@ -551,8 +551,6 @@ static int snd_pcm_plugin_status(snd_pcm_t *pcm, snd_pcm_status_t * status)
|
|||
return err;
|
||||
status->appl_ptr = *pcm->appl.ptr;
|
||||
status->hw_ptr = *pcm->hw.ptr;
|
||||
status->avail = snd_pcm_mmap_avail(pcm);
|
||||
status->delay = snd_pcm_mmap_delay(pcm);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue