whisper.cpp/bindings/ruby/ext
Daniel Bevenius 73a8c5fb94
whisper : remove whisper_load_backends function (#3196)
* whisper : remove whisper_load_backends function

This commit removes the `whisper_load_backends` function, which was used
to load all GGML backends.

The motivation for this change push the responsibility of loading
backends to user applications to give them more control over which
backends to load and when. See the references below for more context.

Resolves: https://github.com/ggml-org/whisper.cpp/issues/3182
Refs: https://github.com/ggml-org/whisper.cpp/pull/3042#issuecomment-2801778733
Refs: https://github.com/ggml-org/whisper.cpp/pull/3042#issuecomment-2801928990

* ruby : add check for rwc is NULL

This commit adds a check to ensure that the `rwc` pointer is not NULL
before attempting to mark its members in the garbage collector.

The motivation for this is an attempt to see if this fixed the CI build
as I'm not able to reproduce the issue locally.

Refs: https://github.com/ggml-org/whisper.cpp/actions/runs/15299612277/job/43036694928?pr=3196
2025-05-29 08:03:17 +02:00
..
sources ruby: use CMake in build process (#3043) 2025-04-14 18:18:27 +09:00
.gitignore ruby : Make context accept initial parameters, API to retrieve a segment and more (#2749) 2025-01-21 09:39:54 +02:00
dependencies.rb ruby : make Ruby bindings installed with build options (#3056) 2025-04-17 18:49:58 +09:00
extconf.rb ruby : make Ruby bindings installed with build options (#3056) 2025-04-17 18:49:58 +09:00
options.rb sync : fix builds - musa, ruby 2025-05-27 18:03:00 +03:00
ruby_whisper_context.c ruby : add VAD support, migration to Ruby's newer API (#3197) 2025-05-28 20:05:12 +09:00
ruby_whisper_error.c ruby : Make context accept initial parameters, API to retrieve a segment and more (#2749) 2025-01-21 09:39:54 +02:00
ruby_whisper_model.c ruby : add VAD support, migration to Ruby's newer API (#3197) 2025-05-28 20:05:12 +09:00
ruby_whisper_params.c whisper : remove whisper_load_backends function (#3196) 2025-05-29 08:03:17 +02:00
ruby_whisper_segment.c ruby : add VAD support, migration to Ruby's newer API (#3197) 2025-05-28 20:05:12 +09:00
ruby_whisper_transcribe.cpp ruby : add VAD support, migration to Ruby's newer API (#3197) 2025-05-28 20:05:12 +09:00
ruby_whisper_vad_params.c ruby : add VAD support, migration to Ruby's newer API (#3197) 2025-05-28 20:05:12 +09:00
ruby_whisper.c ruby : add VAD support, migration to Ruby's newer API (#3197) 2025-05-28 20:05:12 +09:00
ruby_whisper.h ruby : add VAD support, migration to Ruby's newer API (#3197) 2025-05-28 20:05:12 +09:00