diff options
Diffstat (limited to 'src/codec/mbelib.h')
-rw-r--r-- | src/codec/mbelib.h | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/src/codec/mbelib.h b/src/codec/mbelib.h deleted file mode 100644 index 601161b..0000000 --- a/src/codec/mbelib.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (C) 2010 mbelib Author - * GPG Key ID: 0xEA5EFE2C (9E7A 5527 9CDC EBF7 BF1B D772 4F98 E863 EA5E FE2C) - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH - * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, - * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE - * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - * PERFORMANCE OF THIS SOFTWARE. - */ - -#ifndef __MBELIB_H__ -#define __MBELIB_H__ - -#define MBELIB_VERSION "1.2.5" - -struct mbe_parameters -{ - float w0; - int L; - int K; - int Vl[57]; - float Ml[57]; - float log2Ml[57]; - float PHIl[57]; - float PSIl[57]; - float gamma; - int un; - int repeat; -}; - -typedef struct mbe_parameters mbe_parms; - -void mbe_printVersion (char *str); -void mbe_moveMbeParms (mbe_parms * cur_mp, mbe_parms * prev_mp); -void mbe_useLastMbeParms (mbe_parms * cur_mp, mbe_parms * prev_mp); -void mbe_initMbeParms (mbe_parms *mp); -void mbe_spectralAmpEnhance (mbe_parms * cur_mp); -void mbe_synthesizeSilencef (float *aout_buf); -void mbe_synthesizeSilence (short *aout_buf); -void mbe_synthesizeSpeechf (float *aout_buf, mbe_parms * cur_mp, mbe_parms * prev_mp, int uvquality); -void mbe_synthesizeSpeech (short *aout_buf, mbe_parms * cur_mp, mbe_parms * prev_mp, int uvquality); -void mbe_floattoshort (float *float_buf, short *aout_buf); - -#endif /* __MBELIB_H__ */ |