diff options
author | Pierre Ossman <ossman@cendio.se> | 2006-01-05 18:59:24 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2006-01-05 18:59:24 +0000 |
commit | 14474ae4528456b6be243d75116a6080df50399e (patch) | |
tree | b6a6c03e50cad7d62d9520c2005c9ed56415ec0e | |
parent | f0e8c652397d512ed12939c3e2cbcbb4ec6cef75 (diff) |
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
-rw-r--r-- | polyp/protocol-esound.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/polyp/protocol-esound.c b/polyp/protocol-esound.c index 2af3cc81..5705d3fa 100644 --- a/polyp/protocol-esound.c +++ b/polyp/protocol-esound.c @@ -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); } |