OSDN Git Service

pcm: dmix: fix sw_params handling of timestamp types in direct plugins
authorsylvain.bertrand@gmail.com <sylvain.bertrand@gmail.com>
Wed, 15 Apr 2020 00:44:39 +0000 (00:44 +0000)
committerTakashi Iwai <tiwai@suse.de>
Fri, 17 Apr 2020 09:17:02 +0000 (11:17 +0200)
commitd12df1dc9c095bcb52d104e5a39043b56424e9d2
tree1e6ec5edc39847d4d39072e8389aadf1670ee141
parentfb48ad9e4f6b84fd4ade689bd79e3a3c37d3e034
pcm: dmix: fix sw_params handling of timestamp types in direct plugins

In pcms using direct plugins (dmix/dsnoop/dshare), the timestamp type could
be different from the terminating hw plugin, then the kernel driver.

Be sure such pcms have plugins using consistently the same timestamp type.

signed-off-by: Sylvain Bertrand <sylvain.bertrand@legeek.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/conf/alsa.conf
src/conf/pcm/dmix.conf
src/conf/pcm/dsnoop.conf
src/pcm/pcm_direct.c
src/pcm/pcm_direct.h
src/pcm/pcm_dmix.c
src/pcm/pcm_dshare.c
src/pcm/pcm_dsnoop.c
src/pcm/pcm_local.h