OSDN Git Service

pcm: plugin - tidy snd_pcm_plugin_avail_update()
authorJaroslav Kysela <perex@perex.cz>
Sun, 3 Jan 2021 15:34:04 +0000 (16:34 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sun, 3 Jan 2021 15:34:07 +0000 (16:34 +0100)
commitfa1895aa2b4f3f154e537bee92860fe793045643
treeacb23fc230d9860ea149b700d250ff608e2f771b
parent49eea5d7bc7d39f9a4cc1f3b3a813e90b90519eb
pcm: plugin - tidy snd_pcm_plugin_avail_update()

No functional changes - move the code to snd_pcm_plugin_sync_hw_ptr()
and put the mmap capture updates to separate function for readability.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm_plugin.c