diff options
| author | yum <yum.food.vr@gmail.com> | 2023-06-28 22:11:46 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2023-06-28 22:18:18 -0700 |
| commit | b1efbf5ce1ebd584796d4a57cf9c7b6517f91fac (patch) | |
| tree | c03ed443ebe3fd22ec39db88f186b0e069a18547 /GUI | |
| parent | bdaeb1911297d7901a12e3ac51b38c3463789279 (diff) | |
Bugfix: commit no longer wipes out audio buffer
Audio data is stored in chunks of frames, not in individual frames.
When I commit a transcript, I want to get rid of the portion of the
audio data responsible for that particular transcript. I have code that
does this, but it was dropping a slice of the list assuming that each
sample is stored individually.
Extra fun: Because we have to decimate mic frames, we have to convert
between whisper frames and mic frames to drop the correct amount of
audio data.
Diffstat (limited to 'GUI')
| -rw-r--r-- | GUI/GUI/GUI/Frame.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/GUI/GUI/GUI/Frame.cpp b/GUI/GUI/GUI/Frame.cpp index 69def6b..236d375 100644 --- a/GUI/GUI/GUI/Frame.cpp +++ b/GUI/GUI/GUI/Frame.cpp @@ -2137,9 +2137,6 @@ void Frame::OnAppStart(wxCommandEvent& event) { return;
}
- Log(transcribe_out_, "Commit fuzz threshold str: {}\n", commit_fuzz_threshold_str);
- Log(transcribe_out_, "Commit fuzz threshold: {}\n", commit_fuzz_threshold);
-
app_c_->microphone = kMicChoices[which_mic].ToStdString();
app_c_->language = kLangChoices[which_lang].ToStdString();
app_c_->language_target = kLangTargetChoices[which_translate_target].ToStdString();
|
