[alsa-devel] [PATCH] alsa-lib: Add htimestamp operation in plugin file

Takashi Iwai tiwai at suse.de
Mon Nov 28 20:18:40 CET 2016


On Fri, 25 Nov 2016 12:36:37 +0100,
sutar.mounesh at gmail.com wrote:
> 
> From: Andreas Pape <apape at de.adit-jv.com>
> 
> 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 <apape at de.adit-jv.com>
> Signed-off-by: Joshua Frkuska <joshua_frkuska at mentor.com>

Applied, thanks.


Takashi

> ---
> 
> --- a/src/pcm/pcm_file.c	2013-07-08 14:31:36.000000000 +0200
> +++ b/src/pcm/pcm_file.c	2015-05-04 16:26:10.413615403 +0200
> @@ -698,6 +698,7 @@
>  	.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,
> 


More information about the Alsa-devel mailing list