]> git.alsa-project.org Git - alsa-lib.git/commitdiff
pcm: fix the period_size for direct plugins (dmix, dsnoop, dshare)
authorJaroslav Kysela <perex@perex.cz>
Mon, 14 Oct 2019 07:34:35 +0000 (09:34 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 14 Oct 2019 07:35:08 +0000 (09:35 +0200)
BugLink: https://github.com/alsa-project/alsa-lib/issues/8
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm_dmix.c
src/pcm/pcm_dshare.c
src/pcm/pcm_dsnoop.c

index 274726e47a7d5be91f84c8407291e131959d4121..d533f40c58924e89924574a5f7b911e4376d721f 100644 (file)
@@ -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!!!
index bf28db98d9bd3303a74f04f46464833c2994e0c9..59448cfb58838ee45812a7815f34e2d7f0ffbbc1 100644 (file)
@@ -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!!!
index 58b1e534783670b3e4db15369f1238a745f1727b..24f472c72c8ecd4761268798ccac8d981350ade6 100644 (file)
@@ -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!!!