Files @ 0d495816e66c
Branch filter:

Location: tempo-plotter/src/floatswap.h

Hasan Yavuz ÖZDERYA
fix samples that are at the edges not shown or in very high zoom nothing is shown
#include <QtGlobal>

template <> inline float qbswap<float>(float source)
{
    float result;
    char* s = (char*) &source;
    char* t = (char*) &result;
    t[0] = s[3];
    t[1] = s[2];
    t[2] = s[1];
    t[3] = s[0];
    return result;
}