Some fixes attached. The parameters were not handled properly. I also added a means to disable SRC in case the source and sink are synchronous (boolean parameter rate_adjust) Overall the latency is somewhat higher that what I experienced with the initial code. When forwarding my USB headset input to the HDAudio out, I have 2-3 seconds of delay, even if I set the source/sink latency to a low value. And I see Alsa underflow/overflow messages. Not sure what's going on. I will work on this later this week when I have more time. Cheers -Pierre On Wed, Aug 26, 2009 at 9:44 AM, Lennart Poettering<lennart at poettering.net> wrote: > On Wed, 26.08.09 08:43, pl bossart (bossart.nospam at gmail.com) wrote: > >> >> Here the module-loopback code, turns out we can contribute freely to >> >> PulseAudio. Comments welcome. >> > >> > Pierre, I have merged this today and fixed all the outstanding issues >> > I pointed out earlier. It works quite well now. >> > >> > Among other things, I have a added a very simply logic to deal with >> > sample rate deviations. >> >> Excellent. is this on git-master yet? I'd like to do some additional >> tests, I am notorious for breaking things... > > Yes, it is in git master. > > Lennart > > -- > Lennart Poettering ? ? ? ? ? ? ? ? ? ? ? ?Red Hat, Inc. > lennart [at] poettering [dot] net > http://0pointer.net/lennart/ ? ? ? ? ? GnuPG 0x1A015CC4 > _______________________________________________ > pulseaudio-discuss mailing list > pulseaudio-discuss at mail.0pointer.de > https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss > -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-fix-parameters-reduce-default-latency-add-ability.patch Type: application/octet-stream Size: 5743 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20090826/f9542b9c/attachment.obj>