diff options
Diffstat (limited to 'gr-vocoder/lib/codec2/defines.h')
-rw-r--r-- | gr-vocoder/lib/codec2/defines.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gr-vocoder/lib/codec2/defines.h b/gr-vocoder/lib/codec2/defines.h index 75064fae14..4b81357ea6 100644 --- a/gr-vocoder/lib/codec2/defines.h +++ b/gr-vocoder/lib/codec2/defines.h @@ -68,8 +68,8 @@ typedef struct { float Wo; /* fundamental frequency estimate in radians */ int L; /* number of harmonics */ - float A[MAX_AMP]; /* amplitiude of each harmonic */ - float phi[MAX_AMP]; /* phase of each harmonic */ + float A[MAX_AMP+1]; /* amplitiude of each harmonic */ + float phi[MAX_AMP+1]; /* phase of each harmonic */ int voiced; /* non-zero if this frame is voiced */ } MODEL; @@ -81,8 +81,14 @@ struct lsp_codebook { int m; /* elements in codebook */ const float * cb; /* The elements */ }; + extern const struct lsp_codebook lsp_cb[]; extern const struct lsp_codebook lsp_cbd[]; -extern const struct lsp_codebook lsp_cbdvq[]; +extern const struct lsp_codebook lsp_cbvq[]; +extern const struct lsp_codebook lsp_cbjnd[]; +extern const struct lsp_codebook lsp_cbdt[]; +extern const struct lsp_codebook lsp_cbjvm[]; +extern const struct lsp_codebook lsp_cbvqanssi[]; +extern const struct lsp_codebook ge_cb[]; #endif |