From 7a345a5c20107e1db06252f527e795c060ce98af Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Mon, 14 Oct 2019 09:34:35 +0200 Subject: [PATCH] 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 --- src/pcm/pcm_dmix.c | 4 ++-- src/pcm/pcm_dshare.c | 4 ++-- src/pcm/pcm_dsnoop.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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!!! -- 2.47.1