LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 06-13-2011, 09:56 AM   #1
gymnart
Member
 
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: 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?
 
Old 06-13-2011, 11:23 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,784

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
This explanation might help you understand latency.
 
Old 06-14-2011, 11:04 AM   #3
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Original Poster
Rep: Reputation: 30
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
 
  


Reply

Tags
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 07:40 AM.

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