Skip to content

Commit

Permalink
refactor: Remove unused parameter in set_source_signals function
Browse files Browse the repository at this point in the history
  • Loading branch information
royshil committed Jun 4, 2024
1 parent a0753a4 commit c69f6eb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/whisper-utils/whisper-processing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@ struct DetectionResultWithText run_whisper_inference(struct transcription_filter
bool should_free_buffer = false;
float *pcm32f_data = (float *)pcm32f_data_;
size_t pcm32f_size = pcm32f_num_samples;
const uint64_t original_duration_ms =
(uint64_t)(pcm32f_num_samples * 1000 / WHISPER_SAMPLE_RATE);

if (pcm32f_num_samples < WHISPER_SAMPLE_RATE) {
obs_log(gf->log_level,
Expand Down

0 comments on commit c69f6eb

Please sign in to comment.