Bug#740710: problem with SF3 playback

Fabian Greffrath fabian at debian.org
Thu Nov 26 10:39:02 UTC 2015


Hi Hamish,

Am Dienstag, den 24.11.2015, 22:40 +1100 schrieb hamish at cloud.net.au:
> Thanks Fabian. I will try tomorrow.

I think I found the real culprit: I had an off-by-one error in the
calculation of the sample sizes. In FluidSynth, sample->end points to
the last valid point in a sample, not to the first point after. This
means that all samples were calculated one byte too short.

Now, all samples are correctly decoded, i.e. there are no samples with
sfinfo.frames == 0 anymore. This also means that the loopstart and
loopend variables are now correctly set; the workaround of setting them
both to 0 that I previously suggested is not necessary anymore. Also,
most of the quality loss that I originally blamed on the compression
seems to be gone now.

Please find a new patch attached.

Thanks,

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fluidsynth-sf3.patch
Type: text/x-patch
Size: 6338 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20151126/b49c76f4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20151126/b49c76f4/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list