LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   What is latency_msec=5? (https://www.linuxquestions.org/questions/linux-software-2/what-is-latency_msec%3D5-886058/)

gymnart 06-13-2011 09:56 AM

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: http://forums.opensuse.org/english/g...ml#post2342948 and here: http://www.linuxquestions.org/questi...evices-877614/) 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?

bigrigdriver 06-13-2011 11:23 AM

This explanation might help you understand latency.

gymnart 06-14-2011 11:04 AM

Excellent, interesting article.
So, could I do this code
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/default.pa file for the audio sink 'something' ?
Is it in this section?
Code:

### 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



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