diff options
author | Ivan Orlov <ivan.orlov0322@gmail.com> | 2023-08-22 18:05:41 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-08-24 10:58:22 +0300 |
commit | 22459ef3a9dea5249c250b30046c3b31cc684da9 (patch) | |
tree | 273c752ba8efffca4d7839dd358ac3704296990c /sound/pci/ac97 | |
parent | 93dc18e11b1ab2d485b69f91c973e6b83e47ebd0 (diff) | |
download | linux-22459ef3a9dea5249c250b30046c3b31cc684da9.tar.xz |
ALSA: pcmtest: Add support for pcm pausing
Add pause push/release support to the virtual PCM test driver. Add
'suspend' boolean field to the pcmtst_buf_iter structure, so we can
pause the timer without shutting it down. Update the trigger callback
handler correspondingly. Extract buffer initialization to the
'reset_buf_iterator' function since it is used in multiple places now.
Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Link: https://lore.kernel.org/r/20230822150541.8450-1-ivan.orlov0322@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ac97')
0 files changed, 0 insertions, 0 deletions