On Tue, 22.12.09 20:12, Tanu Kaskinen (tanuk at iki.fi) wrote: > > Ideally we'd determine the latencies automatically. Unfortunately some > > interfaces simply don't allow that, such as SPDIF, early HDMI, and BT > > audio. > > > > It should be trivial to write a module for PA that simply piggybacks > > on another sink and adds a configurable latency. However, ideally we'd > > fix this by implementing a more generic filter framework in PA that > > allows plugging stuff like this into an existing sink without > > introducing an additional piggybacked sink. > > For these devices that have a stable but initially unknown or wrong > latency, wouldn't a configurable latency parameter be a more appropriate > fix? The parameter would be just added to the latency value that the > hardware reports (if it reports anything) and there wouldn't be need for > a separate delay buffer. Yes, that's the idea. Maybe eventually even have a slider in the UI which allows you to add/subtract up to 2s or something from the latency reported. Lennart -- Lennart Poettering Red Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4