From: Jaroslav Kysela Date: Mon, 14 Oct 2019 07:34:35 +0000 (+0200) Subject: pcm: fix the period_size for direct plugins (dmix, dsnoop, dshare) X-Git-Tag: v1.2.1~34 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=7a345a5c20107e1db06252f527e795c060ce98af;p=alsa-lib.git pcm: fix the period_size for direct plugins (dmix, dsnoop, dshare) BugLink: https://github.com/alsa-project/alsa-lib/issues/8 Signed-off-by: Jaroslav Kysela --- diff --git a/src/pcm/pcm_dmix.c b/src/pcm/pcm_dmix.c index 274726e4..d533f40c 100644 --- a/src/pcm/pcm_dmix.c +++ b/src/pcm/pcm_dmix.c @@ -1248,10 +1248,10 @@ pcm.name { channels INT period_time INT # in usec # or - period_size INT # in bytes + period_size INT # in frames buffer_time INT # in usec # or - buffer_size INT # in bytes + buffer_size INT # in frames periods INT # when buffer_size or buffer_time is not specified } bindings { # note: this is client independent!!! diff --git a/src/pcm/pcm_dshare.c b/src/pcm/pcm_dshare.c index bf28db98..59448cfb 100644 --- a/src/pcm/pcm_dshare.c +++ b/src/pcm/pcm_dshare.c @@ -940,10 +940,10 @@ pcm.name { channels INT period_time INT # in usec # or - period_size INT # in bytes + period_size INT # in frames buffer_time INT # in usec # or - buffer_size INT # in bytes + buffer_size INT # in frames periods INT # when buffer_size or buffer_time is not specified } bindings { # note: this is client independent!!! diff --git a/src/pcm/pcm_dsnoop.c b/src/pcm/pcm_dsnoop.c index 58b1e534..24f472c7 100644 --- a/src/pcm/pcm_dsnoop.c +++ b/src/pcm/pcm_dsnoop.c @@ -791,10 +791,10 @@ pcm.name { channels INT period_time INT # in usec # or - period_size INT # in bytes + period_size INT # in frames buffer_time INT # in usec # or - buffer_size INT # in bytes + buffer_size INT # in frames periods INT # when buffer_size or buffer_time is not specified } bindings { # note: this is client independent!!!