[gst-devel] Sync spectrum messages with audio being played?

EmbeddedMicro justin at embeddedmicro.com
Tue May 5 01:11:07 CEST 2009


Thanks for that. It cleared some stuff up. However I need to know to do this
in python. Do you know how this would be ported?

I'm going to try making it work. I'll post if I figure it out.

Thanks,
Justin


Sebastian Dröge-7 wrote:
> 
> Am Sonntag, den 03.05.2009, 12:58 -0700 schrieb EmbeddedMicro:
>> What I really need is to be able to adjust the time it send the data
>> relative
>> to when the audio will be played. For example it will send it 100ns
>> before,
>> or maybe 250ns before, allowing time for the data to be transfered so it
>> is
>> synced properly.
>> 
>> It does not seem like this should be too hard to do, but I can't find any
>> documentation on how to do it in python. Do I have to compare the
>> running-time with the actual clock or some how set it up so it is called
>> at
>> even intervals?
> 
> Take a look at gst-plugins-good/tests/examples/spectrum. The
> audiotestsrc/osssrc samples are syncing the messages to the clock by
> installing callbacks into the clock of the pipeline (search for
> wait_async )
> 
>  
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations 
> Conference from O'Reilly Media. Velocity features a full day of 
> expert-led, hands-on workshops and two days of sessions from industry 
> leaders in dedicated Performance & Operations tracks. Use code vel09scf 
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> 

-- 
View this message in context: http://www.nabble.com/Sync-spectrum-messages-with-audio-being-played--tp23348700p23378364.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.





More information about the gstreamer-devel mailing list