]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
whisper : remove mel leftover constants (396089f)
authorGeorgi Gerganov <redacted>
Sat, 5 Oct 2024 13:13:03 +0000 (16:13 +0300)
committerGeorgi Gerganov <redacted>
Sat, 5 Oct 2024 13:13:03 +0000 (16:13 +0300)
include/whisper.h

index 92b43e8fb7f4212e86e5d09ec53bd4b863303bb2..375c1ebc1392d8897f843116ccaf50a5eb7e1e32 100644 (file)
 
 #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" {