]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: hw_params - copy periods and buffer_time to the local variable
authorJaroslav Kysela <perex@perex.cz>
Thu, 18 Aug 2022 09:23:42 +0000 (11:23 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 18 Aug 2022 09:23:45 +0000 (11:23 +0200)
commit0222f45d11e8b71bf651b985b00fdb0addbf3eed
treeb6649384b55e31556c455531d2e4286c7ae8466c
parent8033ff9996b7f04531f1e161bcf6af7673346669
pcm: hw_params - copy periods and buffer_time to the local variable

It is expected to return the correct numbers for get_periods and
get_buffer_time requests. Copy the appropriate fields in the
hw_params call.

Fixes: https://github.com/alsa-project/alsa-lib/issues/258
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm_params.c