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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Andreas Pape <apape@xxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxx>
Signed-off-by: Joshua Frkuska <joshua_frkuska@xxxxxxxxxx>
---

--- 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,
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux