[pulseaudio-commits] src/modules

Tanu Kaskinen tanuk at kemper.freedesktop.org
Sun Oct 8 18:21:18 UTC 2017


 src/modules/raop/module-raop-discover.c |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit ff49f0a5c177f24a5aa3fffdc898b4b36e8c2c74
Author: Colin Leroy <colin at colino.net>
Date:   Sat Oct 7 20:11:49 2017 +0200

    raop: add latency value for Shairport RAOP server
    
    After testing, Shairport server's latency is the same as Pioneer N30.

diff --git a/src/modules/raop/module-raop-discover.c b/src/modules/raop/module-raop-discover.c
index 8b7ba49b..ac4a0258 100644
--- a/src/modules/raop/module-raop-discover.c
+++ b/src/modules/raop/module-raop-discover.c
@@ -145,6 +145,9 @@ static uint32_t guess_latency_from_device(const char *model) {
     if (pa_streq(model, "PIONEER,1")) {
         /* Pioneer N-30 */
         default_latency = 2352;
+    } else if (pa_streq(model, "ShairportSync")) {
+        /* Shairport - software AirPort server */
+        default_latency = 2352;
     }
 
     pa_log_debug("Default latency is %u ms for device model %s.", default_latency, model);



More information about the pulseaudio-commits mailing list