gstreamer/gst/audiomixer
Sebastian Dröge d387cf67df audiomixer: Latency is twice the output buffer duration, not only once
Let's assume a source that outputs outputs 20ms buffers, and audiomixer having
a 20ms output buffer duration. However timestamps don't align perfectly, the
source buffers are offsetted by 5ms.

For our ASCII art picture, each letter is 5ms, each pipe is the start of a
20ms buffer. So what happens is the following:

0   20  40  60
OOOOOOOOOOOOOOOO
|   |   |   |

  5   25  45  65
  IIIIIIIIIIIIIIII
  |   |   |   |

This means that the second output buffer (20 to 40ms) only gets its last 5ms
at time 45ms (the timestamp of the next buffer is the time when the buffer
arrives). But if we only have a latency of 20ms, we would wait until 40ms
to generate the output buffer and miss the last 5ms of the input buffer.
2015-03-03 20:06:48 +01:00
..
gstaudiomixer.c audiomixer: Latency is twice the output buffer duration, not only once 2015-03-03 20:06:48 +01:00
gstaudiomixer.h audiomixer: remove now-unused base_time field in object structure 2015-02-06 10:47:20 +00:00
gstaudiomixerorc-dist.c Release 1.3.1 2014-05-03 19:57:57 +02:00
gstaudiomixerorc-dist.h audiomixer: Add new element based on adder that does synchronized audio mixing 2013-11-06 15:35:38 +01:00
gstaudiomixerorc.orc audiomixer: Add new element based on adder that does synchronized audio mixing 2013-11-06 15:35:38 +01:00
Makefile.am audiomixer: fix build flag order 2014-12-21 07:47:25 -05:00