PATCH 3/3: RAOP: Add latency value for Shairport RAOP server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2017-10-07 at 20:20 +0200, Colin Leroy wrote:
> From 5882bd15c528a0e9987a02f9ddcdd093087ae548 Mon Sep 17 00:00:00 2001
> From: Colin Leroy <colin at colino.net>
> Date: Sat, 7 Oct 2017 20:11:49 +0200
> Subject: [PATCH 3/3] RAOP: Add latency value for Shairport RAOP server
> 
> After testing, Shairport server's latency is the same as Pioneer N30.
> ---
>  src/modules/raop/module-raop-discover.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/src/modules/raop/module-raop-discover.c b/src/modules/raop/module-raop-discover.c
> index 7fe17dfe..5b0c67aa 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);

Thanks! Applied.

-- 
Tanu

https://www.patreon.com/tanuk


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux