mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
pcm_hw plugin: show appl_ptr and hw_ptr in dump() callback
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
fb12b89453
commit
a987a692bf
1 changed files with 2 additions and 0 deletions
|
|
@ -1039,6 +1039,8 @@ static void snd_pcm_hw_dump(snd_pcm_t *pcm, snd_output_t *out)
|
|||
if (pcm->setup) {
|
||||
snd_output_printf(out, "Its setup is:\n");
|
||||
snd_pcm_dump_setup(pcm, out);
|
||||
snd_output_printf(out, " appl_ptr : %li\n", hw->mmap_control->appl_ptr);
|
||||
snd_output_printf(out, " hw_ptr : %li\n", hw->mmap_status->hw_ptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue