Skip to content

Commit

Permalink
fix(ios): missing job assign in transcribeFile
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Jan 17, 2024
1 parent 1421c55 commit d1541ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ios/RNWhisperContext.mm
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,8 @@ - (void)transcribeFile:(int)jobId
params.new_segment_callback_user_data = &user_data;
}

rnwhisper::job* job = rnwhisper::job_new(jobId, params);;
rnwhisper::job* job = rnwhisper::job_new(jobId, params);
self->recordState.job = job;
int code = [self fullTranscribe:job audioData:audioData audioDataCount:audioDataCount];
rnwhisper::job_remove(jobId);
self->recordState.isTranscribing = false;
Expand Down

0 comments on commit d1541ae

Please sign in to comment.