delay between speaker and microphone

siddarthmamidanna msiddarth at neotechindia.com
Thu Jan 28 23:35:45 PST 2016


Hi Julien,

we have applied buffer-time along with alsasrc the delay between start of
microphone recording and speaker recording reduced to 135ms. We have changed
different buffer-time and also latency time but no acquired result of less
then or equal to 100ms. Then pipeline which we are using is as below:
gst-launch-1.0 -v filesrc location=/home/pi/record.wav ! audio/x-raw,
layout=interleaved, rate=8000, format=S16LE, channels=2, endianness=4321,
width=16, depth=16, signed=true ! tee name=waveaudio ! queue ! audioconvert
! autoaudiosink waveaudio. ! filesink location=record_speaker_8000.wav &
gst-launch-1.0 -v alsasrc buffer-time=1000000 latency-time=10000 !
audioresample ! audioconvert ! tee name=near_audio ! queue ! audio/x-raw,
format=S16LE, layout=interleaved, rate=8000, channels=2, endianness=4321,
width=16, depth=16, signed=true ! appsink name=soundSink drop=true
near_audio. ! filesink location=record_microphone_8000.wav

kindly let us give us the solution to reduce the delay equal to less then
100 ms

Thanks and Regards
M.Siddarth




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/delay-between-speaker-and-microphone-tp4675499p4675563.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list