alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] alsa-lib: Add htimestamp operation in plugin file
@ 2016-11-25 11:36 sutar.mounesh
  2016-11-28 19:18 ` Takashi Iwai
  0 siblings, 1 reply; 9+ messages in thread
From: sutar.mounesh @ 2016-11-25 11:36 UTC (permalink / raw)
  To: patch; +Cc: alsa-devel, Joshua Frkuska, Andreas Pape, mounesh_sutar

From: Andreas Pape <apape@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@de.adit-jv.com>
Signed-off-by: Joshua Frkuska <joshua_frkuska@mentor.com>
---

--- 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,

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-02-27  8:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-25 11:36 [PATCH] alsa-lib: Add htimestamp operation in plugin file sutar.mounesh
2016-11-28 19:18 ` Takashi Iwai
2016-11-29 15:15   ` Takashi Sakamoto
2016-11-29 15:22     ` Takashi Iwai
2016-11-29 15:34       ` Takashi Sakamoto
2016-11-30  7:26         ` Sutar, Mounesh
2017-02-03 10:57           ` Sutar, Mounesh
2017-02-27  7:54             ` Sutar, Mounesh
2017-02-27  8:39               ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).