mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-01-30 16:13:57 +00:00
minor : close #370 + Makefile build info print change
This commit is contained in:
parent
84c6b42e65
commit
196d738974
4
Makefile
4
Makefile
@ -155,8 +155,8 @@ $(info I UNAME_M: $(UNAME_M))
|
|||||||
$(info I CFLAGS: $(CFLAGS))
|
$(info I CFLAGS: $(CFLAGS))
|
||||||
$(info I CXXFLAGS: $(CXXFLAGS))
|
$(info I CXXFLAGS: $(CXXFLAGS))
|
||||||
$(info I LDFLAGS: $(LDFLAGS))
|
$(info I LDFLAGS: $(LDFLAGS))
|
||||||
$(info I CC: $(CC) $(CCV))
|
$(info I CC: $(CCV))
|
||||||
$(info I CXX: $(CXX) $(CXXV))
|
$(info I CXX: $(CXXV))
|
||||||
$(info )
|
$(info )
|
||||||
|
|
||||||
default: main
|
default: main
|
||||||
|
@ -557,7 +557,7 @@ int main(int argc, char ** argv) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (wav.sampleRate != WHISPER_SAMPLE_RATE) {
|
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;
|
return 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user