readme : add note about SDL2 (#2946)

Precise the README section about real time audio processing, stating that sdl2 is needed.
This commit is contained in:
Page-MS 2025-03-26 03:30:59 -04:00 committed by GitHub
parent 996581c5e2
commit 594a121f3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -427,7 +427,8 @@ For detailed instructions on how to use Conan, please refer to the [Conan docume
This is a naive example of performing real-time inference on audio from your microphone.
The [stream](examples/stream) tool samples the audio every half a second and runs the transcription continuously.
More info is available in [issue #10](https://github.com/ggerganov/whisper.cpp/issues/10).
More info is available in [issue #10](https://github.com/ggerganov/whisper.cpp/issues/10).
You will need to have [sdl2](https://wiki.libsdl.org/SDL2/Installation) installed for it to work properly.
```bash
cmake -B build -DWHISPER_SDL2=ON