From: sutar.mounesh@gmail.com
To: patch@alsa-project.org
Cc: alsa-devel@alsa-project.org,
Joshua Frkuska <joshua_frkuska@mentor.com>,
Andreas Pape <apape@de.adit-jv.com>,
mounesh_sutar@mentor.com
Subject: [PATCH] alsa-lib: Add htimestamp operation in plugin file
Date: Fri, 25 Nov 2016 17:06:37 +0530 [thread overview]
Message-ID: <1480073797-17667-1-git-send-email-sutar.mounesh@gmail.com> (raw)
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,
next reply other threads:[~2016-11-25 11:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-25 11:36 sutar.mounesh [this message]
2016-11-28 19:18 ` [PATCH] alsa-lib: Add htimestamp operation in plugin file 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1480073797-17667-1-git-send-email-sutar.mounesh@gmail.com \
--to=sutar.mounesh@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=apape@de.adit-jv.com \
--cc=joshua_frkuska@mentor.com \
--cc=mounesh_sutar@mentor.com \
--cc=patch@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).