add a variable delay to an audio stream

Stefano D'Aronco jagger88 at hotmail.it
Fri Jul 15 14:54:25 PDT 2011


Hi all,
    
I know that someone has already asked for this, but I can't find a solution.
I need to introduce in the audio stream of one branch of my pipeline a variable delay.
I try using an audiofirfilter but I think it's not a good solution since the kernel of the filter could have even thousands of elements, but only the last of them is different from zero. So it seems a waste of resources, and also sometimes I get an error while playing. Could the error be because the kernel is too big? Or because I modify the kernel while playing?
Could a solution be use a data buffer probe or an identity element in order to modify the timestamp of the buffer? But there are two problems: 
gst_buffer_is_metadata_writable tells me that the data is not writable, and anyway even if I modify the timestamp I don't get any effect.

is there anybody who has had the same problem and has solved it in some way?


Thank you for your help in advance,
Stefano 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110715/1fc07e1d/attachment.htm>


More information about the gstreamer-devel mailing list