Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-13-2011, 10:56 AM   #1
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Rep: Reputation: 30
What is latency_msec=5?

I'm trying to make changes to my system to be able to capture sound. I've found the directions to make the tweak permanent (from here: and here: but I need to know about one thing: What does latency_msec=5 mean? Do you need it for your average capturing of sound from your sound card?
Old 06-13-2011, 12:23 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,845

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
This explanation might help you understand latency.
Old 06-14-2011, 12:04 PM   #3
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Original Poster
Rep: Reputation: 30
Excellent, interesting article.
So, could I do this code
load-module module-loopback latency_msec=5 sink=rmd
to make the change permanent but without the latency_msec=5 part? I'm asking because the code for the temporary fix doesn't include it and it seemed to work out fine. So with the temporary fix, was (or is) my sound card driver actually using a default latency setting?
How can I found out what its default latency setting is?

Where do you add the two more (identical) loopback sinks to the /etc/pulse/ file for the audio sink 'something' ?
Is it in this section?
### Load audio drivers statically (it's probably better to not load
### these drivers manually, but instead use module-hal-detect --
### see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink


alsa, capture sound, latency_msec=5, pulse audio

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

All times are GMT -5. The time now is 12:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration