summaryrefslogtreecommitdiff
path: root/gr-codec2-vocoder/src/lib/codec2/comp.h
diff options
context:
space:
mode:
authorJohnathan Corgan2011-07-18 12:01:52 -0700
committerJohnathan Corgan2011-07-18 12:01:52 -0700
commitc067ea65d7433d4111b344ded6dfbf089062cf33 (patch)
treea64c0ccd94d52138dfa5bd2e2d959548e124b2cf /gr-codec2-vocoder/src/lib/codec2/comp.h
parent7d328d30b395cde3bfbe5d3ee2e4ffcd46255e03 (diff)
parentc9256024ea6b6956f7969fc742d6514810db9812 (diff)
downloadgnuradio-c067ea65d7433d4111b344ded6dfbf089062cf33.tar.gz
gnuradio-c067ea65d7433d4111b344ded6dfbf089062cf33.tar.bz2
gnuradio-c067ea65d7433d4111b344ded6dfbf089062cf33.zip
Merge remote branch 'ttsou/codec2' into wip/vocoders
Conflicts: config/Makefile.am configure.ac
Diffstat (limited to 'gr-codec2-vocoder/src/lib/codec2/comp.h')
-rw-r--r--gr-codec2-vocoder/src/lib/codec2/comp.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/gr-codec2-vocoder/src/lib/codec2/comp.h b/gr-codec2-vocoder/src/lib/codec2/comp.h
new file mode 100644
index 000000000..cedcab37f
--- /dev/null
+++ b/gr-codec2-vocoder/src/lib/codec2/comp.h
@@ -0,0 +1,38 @@
+/*---------------------------------------------------------------------------*\
+
+ FILE........: comp.h
+ AUTHOR......: David Rowe
+ DATE CREATED: 24/08/09
+
+ Complex number definition.
+
+\*---------------------------------------------------------------------------*/
+
+/*
+ Copyright (C) 2009 David Rowe
+
+ All rights reserved.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License version 2.1, as
+ published by the Free Software Foundation. This program is
+ distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this program; if not, see <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef __COMP__
+#define __COMP__
+
+/* Complex number */
+
+typedef struct {
+ float real;
+ float imag;
+} COMP;
+
+#endif