OSDN Git Service

pcm_plugin: set the initial hw_ptr/appl_ptr from the child pcm
authorJaroslav Kysela <perex@perex.cz>
Mon, 18 Jan 2021 20:09:43 +0000 (21:09 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 20 Jan 2021 16:04:49 +0000 (17:04 +0100)
commit644514e85da169670e4a490b7b15b5ecfcec92c0
treee6e98f322dedb30017ebed802ef180a29a653544
parent93752fb4de397554e92a4eb9079f77dabaec7d7f
pcm_plugin: set the initial hw_ptr/appl_ptr from the child pcm

The direct plugins (dmix & etc.) sets own initial
hw_ptr and appl_ptr. Use this initial settings
to export correct values in snd_pcm_status().

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm_plugin.c