Fix struct name

This commit is contained in:
Kitaiti Makoto 2026-04-26 21:32:14 +09:00
parent 94e2163514
commit 35eda01cb4
1 changed files with 4 additions and 4 deletions

View File

@ -19,14 +19,14 @@ extern void prepare_transcription(ruby_whisper_params * rwp, VALUE * self, int n
extern void ruby_whisper_gvl_locked(void);
extern void ruby_whisper_gvl_unlocked(void);
typedef struct transcribe_without_gvl_args {
typedef struct{
struct whisper_context *context;
struct whisper_full_params *params;
float *samples;
size_t n_samples;
int n_processors;
int result;
} full_parallel_without_gvl_args;
} transcribe_without_gvl_args;
static void*
transcribe_without_gvl(void *rb_args)
@ -39,9 +39,9 @@ transcribe_without_gvl(void *rb_args)
return NULL;
}
typedef struct transcribe_ubf_args {
typedef struct {
ruby_whisper_abort_callback_container *abort_callback_container;
} full_ubf_args;
} transcribe_ubf_args;
static void
transcribe_ubf(void *rb_args)