summaryrefslogtreecommitdiff
path: root/src/lib/dkdm_wrapper.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-03-30 22:59:05 +0200
committerCarl Hetherington <cth@carlh.net>2022-04-02 22:27:11 +0200
commitd1a436bea5981167b810c8849e7409ac9fbc9d83 (patch)
tree6879ae51af7b5c256ace16e9064e215e8a460287 /src/lib/dkdm_wrapper.h
parentee9b12e6874c02baa9bde19bebe3f9223667ef8c (diff)
Fix writing of planar audio to export buffers in some cases (#2223).
Previously we did not take into account alignment padding that can exist with FLTP samples; each channel's block of samples can have a gap between. This doesn't happen with the normal 1024 sample blocks; only when flushing at the end, when we write shorter blocks. Not doing this right meant that we were passing uninitialised memory to aacenc which sometimes responded by returning an EINVAL due to one of its internal calculations returning a NaN.
Diffstat (limited to 'src/lib/dkdm_wrapper.h')
0 files changed, 0 insertions, 0 deletions