From f75349c27d998a39ad1085db7c92110ea163d743 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Mon, 6 Jan 2025 13:35:39 +0200 Subject: [PATCH] tts : minor cleanup --- examples/tts/tts-impl.cpp | 8 -------- examples/tts/tts.cpp | 3 --- 2 files changed, 11 deletions(-) diff --git a/examples/tts/tts-impl.cpp b/examples/tts/tts-impl.cpp index 50d3a15e9..49377a7bc 100644 --- a/examples/tts/tts-impl.cpp +++ b/examples/tts/tts-impl.cpp @@ -8,7 +8,6 @@ #include #include #include -#include #include #include #include @@ -16,13 +15,6 @@ #include #include -// -// Terminal utils -// - -#define SQR(X) ((X) * (X)) -#define UNCUBE(x) x < 48 ? 0 : x < 115 ? 1 : (x - 35) / 40 - static void fill_hann_window(int length, bool periodic, float * output) { int offset = -1; if (periodic) { diff --git a/examples/tts/tts.cpp b/examples/tts/tts.cpp index 680a3cc60..b77cbb8cf 100644 --- a/examples/tts/tts.cpp +++ b/examples/tts/tts.cpp @@ -11,10 +11,7 @@ #include #include #include -#include -#include #include -#include #include //