How to determine / find "period_size" of ALSASRC (LATENCY of alsasrc)

Ashish Kumar Mishra ashish.kmishra at dexceldesigns.com
Mon Jan 18 21:44:54 PST 2016


Hi Nicolas , 

Thanks for replying. 

Reading http://www.alsa-project.org/main/index.php/FramesPeriods , my
understanding was:-
Period-size  ( This is decided first ) -----> Latency Time -----> Buffer
Time 
                                                        -----> Buffer-size .

Reading comment above , it seems the actual order is :- 
Latency Time ( This is decided first ) -----> Buffer Time 
                                                           ----->
Period-size -----> Buffer-size.


Lets say i have an Alsasrc [ for audio ] and might use different plugin for
video src 
[ say Filesrc , Videotestsrc , Camera , DVI chip etc ] . 

Case_1) How could we determine *single value of latency* for alsa plugin
which could cater sync with any of above mentioned video src. 
    or 
Case_2) The latency of alsasrc needs to be calculated separatley considering
individual videosrc being used 
( This is what i think should be the approach ) 


Thanks , 
Ashish Kumar Mishra. 





--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-determine-find-period-size-of-ALSASRC-LATENCY-of-alsasrc-tp4675332p4675368.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list