]> code.delx.au - pulseaudio/commit
virtual-surround: check if resampled memblock is not equal to input
authorNiels Ole Salscheider <niels_ole@salscheider-online.de>
Sat, 24 Nov 2012 11:32:51 +0000 (12:32 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Thu, 29 Nov 2012 03:28:39 +0000 (05:28 +0200)
commit523af5b30220df76515b8b9fa62d0f80bffc541f
treecd8b38e0264345c08d738283f3ee6929a11d6966
parent41055145d7563c20fd58ed4b0a9b349c2363bb02
virtual-surround: check if resampled memblock is not equal to input

Since commit e32a408b3cdd46857fdf12210c1bf5bdbf3a96f8, we silence the
input memblock in order to give the resampler enough input samples, if
necessary.
But if there is no need to resample the hrir, the resampled memblock is
actually the same as the input memblock. Thus, we have to make sure that
we do not silence it in this case.
src/modules/module-virtual-surround-sink.c