Skip to content

Commit 4052e99

Browse files
committed
callback on progress with Rprintf
1 parent dc36258 commit 4052e99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rcpp_whisper.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ void whisper_print_progress_callback(struct whisper_context * /*ctx*/, struct wh
152152
int * progress_prev = &(((whisper_print_user_data *) user_data)->progress_prev);
153153
if (progress >= *progress_prev + progress_step) {
154154
*progress_prev += progress_step;
155-
fprintf(stderr, "%s: progress = %3d%%\n", __func__, progress);
155+
Rprintf("%s: progress = %3d%%\n", __func__, progress);
156156
}
157157
}
158158

0 commit comments

Comments
 (0)