From 196d738974ab0d8a2433e395de3bc4bd330714dd Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Thu, 5 Jan 2023 21:35:04 +0200 Subject: [PATCH] minor : close #370 + Makefile build info print change --- Makefile | 4 ++-- examples/main/main.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4ff898c..0fc1768 100644 --- a/Makefile +++ b/Makefile @@ -155,8 +155,8 @@ $(info I UNAME_M: $(UNAME_M)) $(info I CFLAGS: $(CFLAGS)) $(info I CXXFLAGS: $(CXXFLAGS)) $(info I LDFLAGS: $(LDFLAGS)) -$(info I CC: $(CC) $(CCV)) -$(info I CXX: $(CXX) $(CXXV)) +$(info I CC: $(CCV)) +$(info I CXX: $(CXXV)) $(info ) default: main diff --git a/examples/main/main.cpp b/examples/main/main.cpp index ce8b484..9310894 100644 --- a/examples/main/main.cpp +++ b/examples/main/main.cpp @@ -557,7 +557,7 @@ int main(int argc, char ** argv) { } if (wav.sampleRate != WHISPER_SAMPLE_RATE) { - fprintf(stderr, "%s: WAV file '%s' must be 16 kHz\n", argv[0], fname_inp.c_str()); + fprintf(stderr, "%s: WAV file '%s' must be %i kHz\n", argv[0], fname_inp.c_str(), WHISPER_SAMPLE_RATE/1000); return 8; }