refactor: Update whisper version and add extra models #31
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The audio processing delay calculation in the
process_audio_from_buffer
function has been updated. The duration of the audio processing is now compared to the remaining delay, and if it exceeds the delay, the delay is increased by 100 milliseconds. Otherwise, the delay is decreased by 100 milliseconds.refactor: Update model information retrieval
The code for retrieving model information in the
cleanstream_properties
function has been updated. The loop that adds models to the list now uses themodels_info()
function instead of themodels_info
map directly.refactor: Update whisper model update logic
The logic for updating the whisper model in the
update_whisper_model
function has been updated. Themodels_info()
function is now used to check if the new model path exists in themodels_info
map. Additionally, themodels_info().at(new_model_path)
function is used to retrieve the model information.refactor: Update model downloader types
The
models_info
map has been changed to a functionmodels_info()
that returns a constant reference to the map. Theget_sorted_models_info
function has also been added to retrieve a sorted vector of model information.refactor: Update prebuilt whispercpp version
The prebuilt whispercpp version in the
BuildWhispercpp.cmake
file has been updated to version 0.0.7. The download URL has also been updated to the new repository location.