whisper.cpp/bindings/ruby/ext
KITAITI Makoto 76684141a5
ruby : fix dangling pointers, memory leak, and SEGV on parallel transcription (#3715)
* Prevent dangling pointers

* Use proper free function

* Free callback containers

* Set default log callback when nil is passed to log_set

* Raise error if callbacks set when parallel transcription

* Bump version to 1.3.7

* Make tests follow spec change

* Add note on parallel transcription and callbacks

* Update signature of Whisper.log_set [skip ci]
2026-03-22 02:03:00 +09:00
..
sources ruby: use CMake in build process (#3043) 2025-04-14 18:18:27 +09:00
.gitignore ruby : add Core ML support (#3214) 2025-06-01 18:16:02 +09:00
dependencies.rb ruby : add cleaning of library names in dependencies (#3241) 2025-06-10 15:06:40 +02:00
extconf.rb ruby : add `VAD::Context#segments_from_samples`, allow Pathname, etc. (#3633) 2026-01-30 22:59:36 +09:00
options.rb ruby : add Whisper::VERSION (#3292) 2025-06-27 04:41:26 +02:00
ruby_whisper.c ruby : fix dangling pointers, memory leak, and SEGV on parallel transcription (#3715) 2026-03-22 02:03:00 +09:00
ruby_whisper.h ruby : fix dangling pointers, memory leak, and SEGV on parallel transcription (#3715) 2026-03-22 02:03:00 +09:00
ruby_whisper_context.c ruby : fix dangling pointers, memory leak, and SEGV on parallel transcription (#3715) 2026-03-22 02:03:00 +09:00
ruby_whisper_context_params.c ruby : add `Whisper::Context::Params`, fix token memory management (#3647) 2026-02-04 20:33:09 +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::Context#segments_from_samples`, allow Pathname, etc. (#3633) 2026-01-30 22:59:36 +09:00
ruby_whisper_params.c ruby : fix dangling pointers, memory leak, and SEGV on parallel transcription (#3715) 2026-03-22 02:03:00 +09:00
ruby_whisper_segment.c ruby : add `VAD::Context#segments_from_samples`, allow Pathname, etc. (#3633) 2026-01-30 22:59:36 +09:00
ruby_whisper_token.c ruby : add `Whisper::Context::Params`, fix token memory management (#3647) 2026-02-04 20:33:09 +09:00
ruby_whisper_transcribe.cpp ruby : fix dangling pointers, memory leak, and SEGV on parallel transcription (#3715) 2026-03-22 02:03:00 +09:00
ruby_whisper_vad_context.c ruby : add `VAD::Context#segments_from_samples`, allow Pathname, etc. (#3633) 2026-01-30 22:59:36 +09:00
ruby_whisper_vad_context_detect.cpp ruby : add `VAD::Context#segments_from_samples`, allow Pathname, etc. (#3633) 2026-01-30 22:59:36 +09:00
ruby_whisper_vad_params.c ruby : add `VAD::Context#segments_from_samples`, allow Pathname, etc. (#3633) 2026-01-30 22:59:36 +09:00
ruby_whisper_vad_segment.c ruby : add `VAD::Context#segments_from_samples`, allow Pathname, etc. (#3633) 2026-01-30 22:59:36 +09:00
ruby_whisper_vad_segments.c ruby : add `VAD::Context#segments_from_samples`, allow Pathname, etc. (#3633) 2026-01-30 22:59:36 +09:00