aboutsummaryrefslogtreecommitdiffstats
path: root/src/codec_hr.c
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2010-10-24 18:32:44 +0200
committerSylvain Munaut <tnt@246tNt.com>2010-10-29 11:49:33 +0200
commitcca11553e50760d8cfbfdd1e1af45e31b52417ad (patch)
treebf40b61a729a571429b93bff9b7230e6aafca55d /src/codec_hr.c
parent294db60a4e51568649d7bfccda22dd8ffa0e3f81 (diff)
codec: Add preliminary codecs definitions for HR/FR/EFR
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/codec_hr.c')
-rw-r--r--src/codec_hr.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/codec_hr.c b/src/codec_hr.c
new file mode 100644
index 0000000..ac77ade
--- /dev/null
+++ b/src/codec_hr.c
@@ -0,0 +1,27 @@
+/* HR (GSM 06.20) codec */
+
+/*
+ * This file is part of gapk (GSM Audio Pocket Knife).
+ *
+ * gapk is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * gapk 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 General Public License
+ * along with gapk. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include <gapk/codecs.h>
+
+const struct codec_desc codec_hr_desc = {
+ .type = CODEC_HR,
+ .name = "hr",
+ .description = "GSM 06.20 Half Rate codec",
+ .canon_frame_len = 14,
+};