Remove plugins/LadspaEffect/swh/ladspa-util.c (#5451)

This file contains no used code and it caused build problems, so we
remove it. Thanks to @plater for the issue report.
This commit is contained in:
Johannes Lorenz
2020-04-22 10:35:00 +02:00
committed by GitHub
parent 8afa2d5412
commit 27b1ce914b

View File

@@ -1,22 +0,0 @@
/* truncate:
Truncates a float down to an int without worrying about
the stack and crap like that.
*/
//static const float _truncate_half = 0.5f;
int truncate(float flt) {
int i;
i = flt;
/*
asm (
"flds 8(%ebp)\n"
"\tfsubs _truncate_half\n"
"\tfistpl -4(%ebp)\n"
);
*/
return i;
}