mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
raop: add latency value for Shairport RAOP server
After testing, Shairport server's latency is the same as Pioneer N30.
This commit is contained in:
parent
07e283d744
commit
ff49f0a5c1
1 changed files with 3 additions and 0 deletions
|
|
@ -145,6 +145,9 @@ static uint32_t guess_latency_from_device(const char *model) {
|
||||||
if (pa_streq(model, "PIONEER,1")) {
|
if (pa_streq(model, "PIONEER,1")) {
|
||||||
/* Pioneer N-30 */
|
/* Pioneer N-30 */
|
||||||
default_latency = 2352;
|
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);
|
pa_log_debug("Default latency is %u ms for device model %s.", default_latency, model);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue