[pulseaudio-discuss] rtp question

Paul Fox pgf at foxharp.boston.ma.us
Wed Feb 20 06:11:11 PST 2008

thanks for the replies!

cj van den berg wrote:
 > On Tue, Feb 19, 2008 at 10:10:39PM -0500, Paul Fox wrote:
 > > any experience with this?
 > I've tried it once between two rooms at opposite ends of my house.  It
 > started out with a slight reverb effect, which was pretty acceptable.
 > But after about 3-5 minutes it was far enough out of sync that turned
 > into an annoying echo effect.

yes -- i see now.  if the audio h/w is running at different
rates, you'll get more and more buffer backup on one of them,
increasing slowly over time.  that's where sample-dropping, or
something like it, would need to come into play.

 > Now I use module-tunnel + module-combine, which works just fine. It's
 > good enough that you can't really tell whether the slight reverb effect
 > you get in the hallway is network induced or just the acoustics of the
 > house. I haven't yet tried running an audio cable across the house to
 > find out.  :-)

ah -- that's good news.  having just read the descriptions of
those modules, i'm a little surprised it works, but i'll take
your word for it. :-)  to clarify:  module-combine is run on the
"source" machine, and the tunnels run to the machines with the
audio h/w, correct?  it's going to take me a while to get my head
around the terminology and how these things interconnect.

a somewhat related question:  part of my current system involves
being able to redirect a music stream from one room to another. 
i use a customized irmp3 program to control a customized mpg123
program.  the mpg123 is sending its output to a remote NAS
server, and can be told via irmp3 to close that connection and
open a new one to a different NAS server.  this is useful when i
move from the living room to the kitchen to make dinner.  :-)

i'm thinking that if i had the synchronized distribution system
going that we've been talking about, that i could enable one or
the other (or both) "sinks" at any time -- they'd both be
available, i'd just unmute (or otherwise enable) the one(s) i
wanted to hear.

since that will be a bigger change to my home control
infrastructure (which is a set of networked scripts held together
with virtual chewing gum and string), is there a way in pulse to
do "switching" as i'm doing it now?  i just noticed the "remap"
module -- could i use it, again, perhaps with tunnels, to select
one destination or the other?

 paul fox, pgf at foxharp.boston.ma.us (arlington, ma, where it's 20.7 degrees)

More information about the pulseaudio-discuss mailing list