From: Georgi Gerganov Date: Sat, 5 Oct 2024 13:13:03 +0000 (+0300) Subject: whisper : remove mel leftover constants (396089f) X-Git-Tag: upstream/1.7.4~334 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=1789abca84890eb106b32ecb44d203031e7b4704;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp whisper : remove mel leftover constants (396089f) --- diff --git a/include/whisper.h b/include/whisper.h index 92b43e8f..375c1ebc 100644 --- a/include/whisper.h +++ b/include/whisper.h @@ -31,10 +31,8 @@ #define WHISPER_SAMPLE_RATE 16000 #define WHISPER_N_FFT 400 -#define WHISPER_N_FFT_HALF (WHISPER_N_FFT / 2 + 1) #define WHISPER_HOP_LENGTH 160 #define WHISPER_CHUNK_SIZE 30 -#define WHISPER_N_SAMPLES (WHISPER_SAMPLE_RATE * WHISPER_CHUNK_SIZE) #ifdef __cplusplus extern "C" {