From f8d07a7354a3fee1e30073aa7ac2efb89ef4e782 Mon Sep 17 00:00:00 2001 From: Andreas Pape Date: Fri, 25 Nov 2016 17:06:37 +0530 Subject: [PATCH] pcm: file: Add htimestamp operation in plugin file PCM operation htimestamp is not implemented in plugin file. Calling snd_pcm_htimestamp() on a plugin file crashes. This scenario is considered now. Signed-off-by: Andreas Pape Signed-off-by: Joshua Frkuska Signed-off-by: Takashi Iwai --- src/pcm/pcm_file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pcm/pcm_file.c b/src/pcm/pcm_file.c index ae58c531..6ed39633 100644 --- a/src/pcm/pcm_file.c +++ b/src/pcm/pcm_file.c @@ -706,6 +706,7 @@ static const snd_pcm_fast_ops_t snd_pcm_file_fast_ops = { .readi = snd_pcm_file_readi, .readn = snd_pcm_file_readn, .avail_update = snd_pcm_generic_avail_update, + .htimestamp = snd_pcm_generic_htimestamp, .mmap_commit = snd_pcm_file_mmap_commit, .poll_descriptors_count = snd_pcm_generic_poll_descriptors_count, .poll_descriptors = snd_pcm_generic_poll_descriptors, -- 2.47.1