summaryrefslogtreecommitdiff
path: root/gr-vocoder/lib/codec2/codec2.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-vocoder/lib/codec2/codec2.h')
-rw-r--r--gr-vocoder/lib/codec2/codec2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gr-vocoder/lib/codec2/codec2.h b/gr-vocoder/lib/codec2/codec2.h
index 88e68814fa..f812a05983 100644
--- a/gr-vocoder/lib/codec2/codec2.h
+++ b/gr-vocoder/lib/codec2/codec2.h
@@ -31,6 +31,7 @@
#define CODEC2_SAMPLES_PER_FRAME 160
#define CODEC2_BITS_PER_FRAME 50
+#define CODEC2_BYTES_PER_FRAME ((CODEC2_BITS_PER_FRAME + 7) / 8) // == 8 bytes when packing the 50 bits
void *codec2_create();
void codec2_destroy(void *codec2_state);