mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
RAOP: Announce real latency
Use predefined values depending on the server, and make it configurable. AirPlay is supposed to have 2s of latency. With my hardware, this is more 2.352 seconds after numerous tests. Switch from pausing/resuming the smoother to resetting it because the smoother got stuck returning the same value after an idle/running cycle, making latency calculation wrong.
This commit is contained in:
parent
61217528a1
commit
d8a2cef360
4 changed files with 62 additions and 5 deletions
|
|
@ -46,7 +46,8 @@ PA_MODULE_USAGE(
|
|||
"rate=<sample rate> "
|
||||
"channels=<number of channels> "
|
||||
"username=<authentication user name, default: \"iTunes\"> "
|
||||
"password=<authentication password>");
|
||||
"password=<authentication password> "
|
||||
"latency_msec=<audio latency>");
|
||||
|
||||
static const char* const valid_modargs[] = {
|
||||
"name",
|
||||
|
|
@ -61,6 +62,7 @@ static const char* const valid_modargs[] = {
|
|||
"channels",
|
||||
"username",
|
||||
"password",
|
||||
"latency_msec",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue