summaryrefslogtreecommitdiff
path: root/core/math.h
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2015-12-30 19:20:20 +0000
committerFreeArtMan <dos21h@gmail.com>2015-12-30 19:20:20 +0000
commita9d66c6a759515c7061e2e8aac661eeb0082ea1e (patch)
treeda0bfb62d614fcad482cc5267f0a4348cbde5256 /core/math.h
parent03a2ac933087722b3754f5eca349b26193e9bffd (diff)
downloadradiola-a9d66c6a759515c7061e2e8aac661eeb0082ea1e.tar.gz
radiola-a9d66c6a759515c7061e2e8aac661eeb0082ea1e.zip
More configurable sources. Move some math functions to core/math.h. Move delay filter from sdr_fm
Diffstat (limited to 'core/math.h')
-rw-r--r--core/math.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/core/math.h b/core/math.h
new file mode 100644
index 0000000..dff1ffa
--- /dev/null
+++ b/core/math.h
@@ -0,0 +1,16 @@
+#ifndef __RADIOLA_MATH
+#define __RADIOLA_MATH
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <stdint.h>
+#include <complex.h>
+#include <math.h>
+
+float to_float(uint8_t x);
+
+float ph_ch( uint8_t i1, uint8_t q1 );
+
+void rotate_90(uint8_t *buf, uint32_t len);
+
+#endif \ No newline at end of file