Custom AudioSrc for playing indexed sounds
TheGiamig
thegiamig at gmail.com
Tue Sep 25 12:01:43 UTC 2018
Hi,
I derived from GstAudioSrc and tried to just push out some silence.
A simple pipeline: mysrc ! fakesink seems to be working (logs say:
PREROLLING NOT NEEDED and then enter in PLAYING state) but I added some
traces to understand the call sequence and I can see only _open/_close
calls.
What I need to do to allow calls to _prepare/_read etc..
My element is just some boilerplate code + some near-to-empty function
callbacks to implement the base class.
Probably I misunderstand something but is not so simple to write the right
code just starting from other projects on internet.
Where I can find ad example about the silence. And what about an example
explaining how to manage the buffer timestamps and offset?
Thanks
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list