mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
Esound latency should not include buffer length. This added an extra second
to esound already horrible latency calculations. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@383 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
f0e8c65239
commit
14474ae452
1 changed files with 0 additions and 1 deletions
|
|
@ -426,7 +426,6 @@ static int esd_proto_get_latency(struct connection *c, esd_proto_t request, cons
|
|||
latency = 0;
|
||||
else {
|
||||
double usec = pa_sink_get_latency(sink);
|
||||
usec += PLAYBACK_BUFFER_SECONDS*1000000; /* A better estimation would be a good idea! */
|
||||
latency = (int) ((usec*44100)/1000000);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue