audiobuffersplit: New element that splits raw audio buffers into equal-sized buffers
authorSebastian Dröge <sebastian@centricular.com>
Fri, 18 Nov 2016 19:00:03 +0000 (21:00 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 23 Nov 2016 16:18:46 +0000 (18:18 +0200)
commit0acb3d87bbe82e3dd034c2e395b61b43c644227d
tree4105927434c500e316e149f76767aa5ab2d414c6
parent12e82aac28d0467844233f3cbc9d8ae7c08cd05c
audiobuffersplit: New element that splits raw audio buffers into equal-sized buffers

This is useful e.g. if audio buffers should be exactly the duration of a
video frame, or if a audio buffers should never be too large because of
latency constraints.

The element is taking a fractional buffer duration, to allow working
with e.g. 1001/30000 as output duration and it accumulates rounding
errors in the buffer durations and compensates for them by making some
buffers one sample larger than the others.

https://bugzilla.gnome.org/show_bug.cgi?id=774689
configure.ac
gst/audiobuffersplit/Makefile.am [new file with mode: 0644]
gst/audiobuffersplit/gstaudiobuffersplit.c [new file with mode: 0644]
gst/audiobuffersplit/gstaudiobuffersplit.h [new file with mode: 0644]
gst/audiobuffersplit/meson.build [new file with mode: 0644]
gst/meson.build