OSDN Git Service

pcm: copy extplug timestamp type from the slave pcm
authorJaroslav Kysela <perex@perex.cz>
Thu, 18 Jun 2020 17:15:45 +0000 (19:15 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 18 Jun 2020 17:18:14 +0000 (19:18 +0200)
commit7cf0fb693ae016d392f0aaf36f162fd35570feec
tree0e1f72bc817af3d12603c79ff80297aadf38ceb9
parent80a8cc574d71916e94dda8cae619117284cd04cc
pcm: copy extplug timestamp type from the slave pcm

The extplug sets incorrectly the timestamping type to
gettimeofday. Copy the timestamp type from the slave pcm
as other plugins do.

The problem is visible when the
  "pcm: dmix: fix sw_params handling of timestamp types in direct plugins"
patch was applied for the direct plugins.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1847508
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm_extplug.c