mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-08-09 11:45:39 +02:00
wip : improve makefile
This commit is contained in:
@ -238,7 +238,7 @@ int main(int argc, char ** argv) {
|
||||
}
|
||||
|
||||
// process 3 seconds of new audio
|
||||
while ((int) SDL_GetQueuedAudioSize(g_dev_id_in) < 3*WHISPER_SAMPLE_RATE*sizeof(float)) {
|
||||
while (SDL_GetQueuedAudioSize(g_dev_id_in) < 3*WHISPER_SAMPLE_RATE*sizeof(float)) {
|
||||
SDL_Delay(1);
|
||||
}
|
||||
const int n_samples_new = SDL_GetQueuedAudioSize(g_dev_id_in)/sizeof(float);
|
||||
|
Reference in New Issue
Block a user