delay between speaker and microphone
Arun Raghavan
arun at accosted.net
Thu Jan 28 20:10:50 PST 2016
On Thu, 2016-01-28 at 12:01 +0000, Paixao Julien wrote:
> > -----Original Message-----
> > From: gstreamer-devel [mailto:gstreamer-devel-
> > bounces at lists.freedesktop.org] On Behalf Of siddarthmamidanna
> > Sent: Thursday, January 28, 2016 12:00 PM
> > To: gstreamer-devel at lists.freedesktop.org
> > Subject: RE: delay between speaker and microphone
> >
> > Hi Julien,
> > Thanks for your response.
> > Actually we are measuring the delay in audacity software. by
> > comparing the
> > recorded files record_speaker_8000.wav and
> > record_microphone_8000.wav.
> > How to implement buffer-time in gstreamer pipeline can you give me
> > an
> > example of it Thanks and Regards M.Siddarth
>
> buffer-time is a parameter from alsasrc, be aware that if you change
> the buffer-time, you might also need to change latency-time.
>
> e.g alsasrc buffer-time=32000 latency-time=16000
> This will give a maximum latency for the source of 32ms and a minimum
> of 16ms.
>
> Be aware that you have also other elements in your pipeline where
> buffers are also configurable.
> e.g filesrc will by default read 4096 bytes per buffer, in your
> pipeline this is equivalent to 256ms of audio.
>
> Abuse on the use of gst-inspect-1.0 in order to have information
> about the element properties and its capabilities.
> e.g gst-inspect-1.0 alsasrc
Just to add to this, you probably also want to adjust sink buffer-time
and latency-time.
-- Arun
More information about the gstreamer-devel
mailing list