diff options
Diffstat (limited to 'src/Buffer.h')
-rw-r--r-- | src/Buffer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Buffer.h b/src/Buffer.h index 711b804..f6c94e0 100644 --- a/src/Buffer.h +++ b/src/Buffer.h @@ -37,7 +37,9 @@ #include "fpm/fixed.hpp" typedef std::complex<float> complexf; -typedef std::complex<fpm::fixed_16_16> complexfix; + +using fixed_16 = fpm::fixed<std::int16_t, std::int32_t, 6>; +typedef std::complex<fixed_16> complexfix; /* Buffer is a container for a byte array, which is memory-aligned * to 32 bytes for SSE performance. |