From 30325d24d107dbf133da39f7c96d1510fd1c9449 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 15 Aug 2025 12:42:40 +0200 Subject: Bump to codec2 version 1.2.0 --- sine.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'sine.h') diff --git a/sine.h b/sine.h index 21d21fb..3f709b2 100644 --- a/sine.h +++ b/sine.h @@ -28,20 +28,23 @@ #ifndef __SINE__ #define __SINE__ -#include "defines.h" -#include "comp.h" #include "codec2_fft.h" +#include "comp.h" +#include "defines.h" C2CONST c2const_create(int Fs, float framelength_ms); -void make_analysis_window(C2CONST *c2const, codec2_fft_cfg fft_fwd_cfg, float w[], float W[]); +void make_analysis_window(C2CONST *c2const, codec2_fft_cfg fft_fwd_cfg, + float w[], float W[]); float hpf(float x, float states[]); -void dft_speech(C2CONST *c2const, codec2_fft_cfg fft_fwd_cfg, COMP Sw[], float Sn[], float w[]); +void dft_speech(C2CONST *c2const, codec2_fft_cfg fft_fwd_cfg, COMP Sw[], + float Sn[], float w[]); void two_stage_pitch_refinement(C2CONST *c2const, MODEL *model, COMP Sw[]); void estimate_amplitudes(MODEL *model, COMP Sw[], float W[], int est_phase); float est_voicing_mbe(C2CONST *c2const, MODEL *model, COMP Sw[], float W[]); void make_synthesis_window(C2CONST *c2const, float Pn[]); -void synthesise(int n_samp, codec2_fftr_cfg fftr_inv_cfg, float Sn_[], MODEL *model, float Pn[], int shift); +void synthesise(int n_samp, codec2_fftr_cfg fftr_inv_cfg, float Sn_[], + MODEL *model, float Pn[], int shift); #define CODEC2_RAND_MAX 32767 int codec2_rand(void); -- cgit v1.2.3