[pulseaudio-discuss] Need help to reduce delay with USB, mic using pulseaudio
guanqun.lu at intel.com
Thu Aug 11 09:12:12 PDT 2011
On Fri, Aug 12, 2011 at 12:07:18AM +0800, Colin Guthrie wrote:
> 'Twas brillig, and Lu Guanqun at 11/08/11 17:20 did gyre and gimble:
> > Hi Ashwani,
> > On Thu, Aug 11, 2011 at 11:02:41PM +0800, Pierre-Louis Bossart wrote:
> >>> I am attaching the pulseaudio usb mic delay log.
> >>> When I am running gst-launch-0.10 ! pulsesrc ! pulsesink on pandaboard
> >>> getting around 2-3 sec. on the fly audio delay.
> >>> Please suggest how to resolve this problem.
> >> Use module-loopback and play with the latency parameters.
> > In case you don't know what the latency parameters are, on the
> > gst-launch line, you can append these parameters: e.g.
> > gst-launch-0.10 pulsesrc buffer-time=<xxxx> latency-time=<xxxx> !
> > pulsesink buffer-time=<xxxx> latency-time=<xxxx>
> I suspect Pierre was referring to the latency_usec param on module-loopback.
Waiting Pierre to clarify. ;)
I once played with the buffer time and latency time on gstreamer, it
could reduce the delay to some extent.
More information about the pulseaudio-discuss