react-native-nobodywho 2.5.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/cpp/nobodywho.cpp +829 -315
- package/generated/cpp/nobodywho.hpp +99 -27
- package/generated/ts/nobodywho-ffi.ts +44 -27
- package/generated/ts/nobodywho.ts +547 -160
- package/package.json +1 -1
- package/src/encoder.ts +5 -0
- package/src/{stt.ts → speech_to_text.ts} +17 -9
- package/src/{tts.ts → text_to_speech.ts} +20 -20
- package/src/vad.ts +104 -0
- package/src/wrapper.ts +8 -5
|
@@ -190,32 +190,53 @@ void uniffi_nobodywho_uniffi_fn_free_rustencoder(
|
|
|
190
190
|
RustCallStatus *uniffi_out_err);
|
|
191
191
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustencoder_encode(
|
|
192
192
|
/*handle*/ uint64_t ptr, RustBuffer text);
|
|
193
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustencoder_encode_batch(
|
|
194
|
+
/*handle*/ uint64_t ptr, RustBuffer texts);
|
|
193
195
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rustmodel(
|
|
194
196
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
195
197
|
void uniffi_nobodywho_uniffi_fn_free_rustmodel(
|
|
196
198
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
197
199
|
uint32_t uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
|
|
198
200
|
/*handle*/ uint64_t ptr, RustCallStatus *uniffi_out_err);
|
|
199
|
-
/*handle*/ uint64_t
|
|
201
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext(
|
|
200
202
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
201
|
-
void
|
|
203
|
+
void uniffi_nobodywho_uniffi_fn_free_rustspeechtotext(
|
|
202
204
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
203
|
-
/*handle*/ uint64_t
|
|
205
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_constructor_rustspeechtotext_new(
|
|
204
206
|
RustBuffer source, RustBuffer language, RustBuffer quantization,
|
|
205
207
|
RustCallStatus *uniffi_out_err);
|
|
206
|
-
/*handle*/ uint64_t
|
|
208
|
+
/*handle*/ uint64_t
|
|
209
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_file(
|
|
207
210
|
/*handle*/ uint64_t ptr, RustBuffer path, RustCallStatus *uniffi_out_err);
|
|
208
|
-
/*handle*/ uint64_t
|
|
211
|
+
/*handle*/ uint64_t
|
|
212
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_pcm(
|
|
209
213
|
/*handle*/ uint64_t ptr, RustBuffer samples, uint32_t sample_rate,
|
|
210
214
|
RustCallStatus *uniffi_out_err);
|
|
211
|
-
/*handle*/ uint64_t
|
|
215
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rustspeechtotextstream(
|
|
212
216
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
213
|
-
void
|
|
217
|
+
void uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream(
|
|
214
218
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
215
|
-
/*handle*/ uint64_t
|
|
219
|
+
/*handle*/ uint64_t
|
|
220
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_completed(
|
|
216
221
|
/*handle*/ uint64_t ptr);
|
|
217
|
-
/*handle*/ uint64_t
|
|
222
|
+
/*handle*/ uint64_t
|
|
223
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_next_token(
|
|
218
224
|
/*handle*/ uint64_t ptr);
|
|
225
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rusttexttospeech(
|
|
226
|
+
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
227
|
+
void uniffi_nobodywho_uniffi_fn_free_rusttexttospeech(
|
|
228
|
+
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
229
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_constructor_rusttexttospeech_new(
|
|
230
|
+
RustBuffer source, RustBuffer architecture, RustBuffer voice,
|
|
231
|
+
RustBuffer language, RustBuffer speed, RustBuffer steps,
|
|
232
|
+
RustBuffer silence_duration, RustBuffer precision, RustBuffer temperature,
|
|
233
|
+
RustBuffer huggingface_token, RustBuffer device,
|
|
234
|
+
RustCallStatus *uniffi_out_err);
|
|
235
|
+
RustBuffer uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize(
|
|
236
|
+
/*handle*/ uint64_t ptr, RustBuffer text, RustCallStatus *uniffi_out_err);
|
|
237
|
+
/*handle*/ uint64_t
|
|
238
|
+
uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize_async(
|
|
239
|
+
/*handle*/ uint64_t ptr, RustBuffer text);
|
|
219
240
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rusttokenstream(
|
|
220
241
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
221
242
|
void uniffi_nobodywho_uniffi_fn_free_rusttokenstream(
|
|
@@ -243,20 +264,23 @@ uniffi_nobodywho_uniffi_fn_method_rusttool_next_pending_call(
|
|
|
243
264
|
void uniffi_nobodywho_uniffi_fn_method_rusttool_resolve_pending_call(
|
|
244
265
|
/*handle*/ uint64_t ptr, RustBuffer call_id, RustBuffer result,
|
|
245
266
|
RustCallStatus *uniffi_out_err);
|
|
246
|
-
/*handle*/ uint64_t
|
|
267
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rustvoiceactivitydetection(
|
|
247
268
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
248
|
-
void
|
|
269
|
+
void uniffi_nobodywho_uniffi_fn_free_rustvoiceactivitydetection(
|
|
249
270
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
250
|
-
/*handle*/ uint64_t
|
|
251
|
-
|
|
252
|
-
RustBuffer
|
|
253
|
-
RustBuffer
|
|
254
|
-
RustBuffer
|
|
271
|
+
/*handle*/ uint64_t
|
|
272
|
+
uniffi_nobodywho_uniffi_fn_constructor_rustvoiceactivitydetection_new(
|
|
273
|
+
RustBuffer source, uint32_t sample_rate, RustBuffer threshold,
|
|
274
|
+
RustBuffer min_silence_duration_ms, RustBuffer min_speech_duration_ms,
|
|
275
|
+
RustBuffer preroll_duration_ms, RustBuffer device,
|
|
276
|
+
RustCallStatus *uniffi_out_err);
|
|
277
|
+
RustBuffer uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_finish(
|
|
278
|
+
/*handle*/ uint64_t ptr, RustCallStatus *uniffi_out_err);
|
|
279
|
+
RustBuffer uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_push(
|
|
280
|
+
/*handle*/ uint64_t ptr, RustBuffer chunk, RustCallStatus *uniffi_out_err);
|
|
281
|
+
RustBuffer uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_segment(
|
|
282
|
+
/*handle*/ uint64_t ptr, RustBuffer samples,
|
|
255
283
|
RustCallStatus *uniffi_out_err);
|
|
256
|
-
RustBuffer uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize(
|
|
257
|
-
/*handle*/ uint64_t ptr, RustBuffer text, RustCallStatus *uniffi_out_err);
|
|
258
|
-
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize_async(
|
|
259
|
-
/*handle*/ uint64_t ptr, RustBuffer text);
|
|
260
284
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_samplerbuilder(
|
|
261
285
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
262
286
|
void uniffi_nobodywho_uniffi_fn_free_samplerbuilder(
|
|
@@ -326,12 +350,19 @@ RustBuffer uniffi_nobodywho_uniffi_fn_func_get_cached_models(
|
|
|
326
350
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_load_model(
|
|
327
351
|
RustBuffer model_path, int8_t use_gpu, RustBuffer projection_model_path,
|
|
328
352
|
RustBuffer draft_model_path, RustBuffer on_download_progress);
|
|
329
|
-
/*handle*/ uint64_t
|
|
353
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_load_speech_to_text(
|
|
354
|
+
RustBuffer source, RustBuffer language, RustBuffer quantization);
|
|
355
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_load_text_to_speech(
|
|
330
356
|
RustBuffer source, RustBuffer architecture, RustBuffer voice,
|
|
331
357
|
RustBuffer language, RustBuffer speed, RustBuffer steps,
|
|
332
358
|
RustBuffer silence_duration, RustBuffer precision, RustBuffer temperature,
|
|
333
359
|
RustBuffer huggingface_token, RustBuffer device);
|
|
334
360
|
/*handle*/ uint64_t
|
|
361
|
+
uniffi_nobodywho_uniffi_fn_func_load_voice_activity_detection(
|
|
362
|
+
RustBuffer source, uint32_t sample_rate, RustBuffer threshold,
|
|
363
|
+
RustBuffer min_silence_duration_ms, RustBuffer min_speech_duration_ms,
|
|
364
|
+
RustBuffer preroll_duration_ms, RustBuffer device);
|
|
365
|
+
/*handle*/ uint64_t
|
|
335
366
|
uniffi_nobodywho_uniffi_fn_func_sampler_preset_constrain_with_grammar(
|
|
336
367
|
RustBuffer grammar, RustCallStatus *uniffi_out_err);
|
|
337
368
|
/*handle*/ uint64_t
|
|
@@ -479,7 +510,9 @@ uint16_t uniffi_nobodywho_uniffi_checksum_func_cosine_similarity();
|
|
|
479
510
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_download_model();
|
|
480
511
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_get_cached_models();
|
|
481
512
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_load_model();
|
|
482
|
-
uint16_t
|
|
513
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_func_load_speech_to_text();
|
|
514
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_func_load_text_to_speech();
|
|
515
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_func_load_voice_activity_detection();
|
|
483
516
|
uint16_t
|
|
484
517
|
uniffi_nobodywho_uniffi_checksum_func_sampler_preset_constrain_with_grammar();
|
|
485
518
|
uint16_t
|
|
@@ -522,19 +555,31 @@ uint16_t uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank();
|
|
|
522
555
|
uint16_t
|
|
523
556
|
uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank_and_sort_json();
|
|
524
557
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode();
|
|
558
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode_batch();
|
|
525
559
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx();
|
|
526
|
-
uint16_t
|
|
527
|
-
|
|
528
|
-
uint16_t
|
|
529
|
-
|
|
560
|
+
uint16_t
|
|
561
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_file();
|
|
562
|
+
uint16_t
|
|
563
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_pcm();
|
|
564
|
+
uint16_t
|
|
565
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_completed();
|
|
566
|
+
uint16_t
|
|
567
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_next_token();
|
|
568
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize();
|
|
569
|
+
uint16_t
|
|
570
|
+
uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize_async();
|
|
530
571
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_completed();
|
|
531
572
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_next_token();
|
|
532
573
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttool_get_schema_json();
|
|
533
574
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttool_next_pending_call();
|
|
534
575
|
uint16_t
|
|
535
576
|
uniffi_nobodywho_uniffi_checksum_method_rusttool_resolve_pending_call();
|
|
536
|
-
uint16_t
|
|
537
|
-
|
|
577
|
+
uint16_t
|
|
578
|
+
uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_finish();
|
|
579
|
+
uint16_t
|
|
580
|
+
uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_push();
|
|
581
|
+
uint16_t
|
|
582
|
+
uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_segment();
|
|
538
583
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist();
|
|
539
584
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dry();
|
|
540
585
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_grammar();
|
|
@@ -553,10 +598,12 @@ uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerconfig_to_json();
|
|
|
553
598
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustchat_new();
|
|
554
599
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustcrossencoder_new();
|
|
555
600
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustencoder_new();
|
|
556
|
-
uint16_t
|
|
601
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustspeechtotext_new();
|
|
602
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rusttexttospeech_new();
|
|
557
603
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new();
|
|
558
604
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new_async();
|
|
559
|
-
uint16_t
|
|
605
|
+
uint16_t
|
|
606
|
+
uniffi_nobodywho_uniffi_checksum_constructor_rustvoiceactivitydetection_new();
|
|
560
607
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_samplerbuilder_new();
|
|
561
608
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_samplerconfig_from_json();
|
|
562
609
|
uint16_t
|
|
@@ -3082,6 +3129,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3082
3129
|
->cpp_uniffi_nobodywho_uniffi_fn_method_rustencoder_encode(
|
|
3083
3130
|
rt, thisVal, args, count);
|
|
3084
3131
|
});
|
|
3132
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustencoder_encode_batch"] =
|
|
3133
|
+
jsi::Function::createFromHostFunction(
|
|
3134
|
+
rt,
|
|
3135
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
|
|
3136
|
+
"method_rustencoder_encode_batch"),
|
|
3137
|
+
2,
|
|
3138
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3139
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3140
|
+
return this
|
|
3141
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustencoder_encode_batch(
|
|
3142
|
+
rt, thisVal, args, count);
|
|
3143
|
+
});
|
|
3085
3144
|
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rustmodel"] =
|
|
3086
3145
|
jsi::Function::createFromHostFunction(
|
|
3087
3146
|
rt,
|
|
@@ -3116,112 +3175,172 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3116
3175
|
->cpp_uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
|
|
3117
3176
|
rt, thisVal, args, count);
|
|
3118
3177
|
});
|
|
3119
|
-
props["
|
|
3178
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext"] =
|
|
3120
3179
|
jsi::Function::createFromHostFunction(
|
|
3121
3180
|
rt,
|
|
3122
3181
|
jsi::PropNameID::forAscii(
|
|
3123
|
-
rt, "
|
|
3182
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext"),
|
|
3124
3183
|
1,
|
|
3125
3184
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3126
3185
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3127
|
-
return this->
|
|
3186
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext(
|
|
3128
3187
|
rt, thisVal, args, count);
|
|
3129
3188
|
});
|
|
3130
|
-
props["
|
|
3189
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_free_rustspeechtotext"] =
|
|
3131
3190
|
jsi::Function::createFromHostFunction(
|
|
3132
3191
|
rt,
|
|
3133
3192
|
jsi::PropNameID::forAscii(
|
|
3134
|
-
rt, "
|
|
3193
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_free_rustspeechtotext"),
|
|
3135
3194
|
1,
|
|
3136
3195
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3137
3196
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3138
|
-
return this->
|
|
3197
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_free_rustspeechtotext(
|
|
3139
3198
|
rt, thisVal, args, count);
|
|
3140
3199
|
});
|
|
3141
|
-
props["
|
|
3200
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_constructor_rustspeechtotext_new"] =
|
|
3142
3201
|
jsi::Function::createFromHostFunction(
|
|
3143
3202
|
rt,
|
|
3144
|
-
jsi::PropNameID::forAscii(
|
|
3145
|
-
|
|
3203
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
|
|
3204
|
+
"constructor_rustspeechtotext_new"),
|
|
3146
3205
|
3,
|
|
3147
3206
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3148
3207
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3149
|
-
return this
|
|
3150
|
-
|
|
3208
|
+
return this
|
|
3209
|
+
->cpp_uniffi_nobodywho_uniffi_fn_constructor_rustspeechtotext_new(
|
|
3210
|
+
rt, thisVal, args, count);
|
|
3151
3211
|
});
|
|
3152
|
-
props["
|
|
3212
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_"
|
|
3213
|
+
"file"] = jsi::Function::createFromHostFunction(
|
|
3214
|
+
rt,
|
|
3215
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3216
|
+
"rustspeechtotext_transcribe_file"),
|
|
3217
|
+
2,
|
|
3218
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3219
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3220
|
+
return this
|
|
3221
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_file(
|
|
3222
|
+
rt, thisVal, args, count);
|
|
3223
|
+
});
|
|
3224
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_"
|
|
3225
|
+
"pcm"] = jsi::Function::createFromHostFunction(
|
|
3226
|
+
rt,
|
|
3227
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3228
|
+
"rustspeechtotext_transcribe_pcm"),
|
|
3229
|
+
3,
|
|
3230
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3231
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3232
|
+
return this
|
|
3233
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_pcm(
|
|
3234
|
+
rt, thisVal, args, count);
|
|
3235
|
+
});
|
|
3236
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotextstream"] =
|
|
3153
3237
|
jsi::Function::createFromHostFunction(
|
|
3154
3238
|
rt,
|
|
3155
3239
|
jsi::PropNameID::forAscii(
|
|
3156
3240
|
rt,
|
|
3157
|
-
"
|
|
3158
|
-
|
|
3241
|
+
"ubrn_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotextstream"),
|
|
3242
|
+
1,
|
|
3159
3243
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3160
3244
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3161
3245
|
return this
|
|
3162
|
-
->
|
|
3246
|
+
->cpp_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotextstream(
|
|
3163
3247
|
rt, thisVal, args, count);
|
|
3164
3248
|
});
|
|
3165
|
-
props["
|
|
3249
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream"] =
|
|
3166
3250
|
jsi::Function::createFromHostFunction(
|
|
3167
3251
|
rt,
|
|
3168
3252
|
jsi::PropNameID::forAscii(
|
|
3169
3253
|
rt,
|
|
3170
|
-
"
|
|
3171
|
-
|
|
3254
|
+
"ubrn_uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream"),
|
|
3255
|
+
1,
|
|
3172
3256
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3173
3257
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3174
3258
|
return this
|
|
3175
|
-
->
|
|
3259
|
+
->cpp_uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream(
|
|
3176
3260
|
rt, thisVal, args, count);
|
|
3177
3261
|
});
|
|
3178
|
-
props["
|
|
3262
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_"
|
|
3263
|
+
"completed"] = jsi::Function::createFromHostFunction(
|
|
3264
|
+
rt,
|
|
3265
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3266
|
+
"rustspeechtotextstream_completed"),
|
|
3267
|
+
1,
|
|
3268
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3269
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3270
|
+
return this
|
|
3271
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_completed(
|
|
3272
|
+
rt, thisVal, args, count);
|
|
3273
|
+
});
|
|
3274
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_next_"
|
|
3275
|
+
"token"] = jsi::Function::createFromHostFunction(
|
|
3276
|
+
rt,
|
|
3277
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3278
|
+
"rustspeechtotextstream_next_token"),
|
|
3279
|
+
1,
|
|
3280
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3281
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3282
|
+
return this
|
|
3283
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_next_token(
|
|
3284
|
+
rt, thisVal, args, count);
|
|
3285
|
+
});
|
|
3286
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rusttexttospeech"] =
|
|
3179
3287
|
jsi::Function::createFromHostFunction(
|
|
3180
3288
|
rt,
|
|
3181
3289
|
jsi::PropNameID::forAscii(
|
|
3182
|
-
rt, "
|
|
3290
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_clone_rusttexttospeech"),
|
|
3183
3291
|
1,
|
|
3184
3292
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3185
3293
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3186
|
-
return this->
|
|
3294
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_clone_rusttexttospeech(
|
|
3187
3295
|
rt, thisVal, args, count);
|
|
3188
3296
|
});
|
|
3189
|
-
props["
|
|
3297
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_free_rusttexttospeech"] =
|
|
3190
3298
|
jsi::Function::createFromHostFunction(
|
|
3191
3299
|
rt,
|
|
3192
3300
|
jsi::PropNameID::forAscii(
|
|
3193
|
-
rt, "
|
|
3301
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_free_rusttexttospeech"),
|
|
3194
3302
|
1,
|
|
3195
3303
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3196
3304
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3197
|
-
return this->
|
|
3305
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_free_rusttexttospeech(
|
|
3198
3306
|
rt, thisVal, args, count);
|
|
3199
3307
|
});
|
|
3200
|
-
props["
|
|
3308
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_constructor_rusttexttospeech_new"] =
|
|
3201
3309
|
jsi::Function::createFromHostFunction(
|
|
3202
3310
|
rt,
|
|
3203
|
-
jsi::PropNameID::forAscii(
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
1,
|
|
3311
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
|
|
3312
|
+
"constructor_rusttexttospeech_new"),
|
|
3313
|
+
11,
|
|
3207
3314
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3208
3315
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3209
3316
|
return this
|
|
3210
|
-
->
|
|
3317
|
+
->cpp_uniffi_nobodywho_uniffi_fn_constructor_rusttexttospeech_new(
|
|
3211
3318
|
rt, thisVal, args, count);
|
|
3212
3319
|
});
|
|
3213
|
-
props["
|
|
3320
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize"] =
|
|
3214
3321
|
jsi::Function::createFromHostFunction(
|
|
3215
3322
|
rt,
|
|
3216
3323
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
|
|
3217
|
-
"
|
|
3218
|
-
|
|
3324
|
+
"method_rusttexttospeech_synthesize"),
|
|
3325
|
+
2,
|
|
3219
3326
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3220
3327
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3221
3328
|
return this
|
|
3222
|
-
->
|
|
3329
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize(
|
|
3223
3330
|
rt, thisVal, args, count);
|
|
3224
3331
|
});
|
|
3332
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize_"
|
|
3333
|
+
"async"] = jsi::Function::createFromHostFunction(
|
|
3334
|
+
rt,
|
|
3335
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3336
|
+
"rusttexttospeech_synthesize_async"),
|
|
3337
|
+
2,
|
|
3338
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3339
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3340
|
+
return this
|
|
3341
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize_async(
|
|
3342
|
+
rt, thisVal, args, count);
|
|
3343
|
+
});
|
|
3225
3344
|
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rusttokenstream"] =
|
|
3226
3345
|
jsi::Function::createFromHostFunction(
|
|
3227
3346
|
rt,
|
|
@@ -3351,63 +3470,79 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3351
3470
|
->cpp_uniffi_nobodywho_uniffi_fn_method_rusttool_resolve_pending_call(
|
|
3352
3471
|
rt, thisVal, args, count);
|
|
3353
3472
|
});
|
|
3354
|
-
props["
|
|
3355
|
-
jsi::Function::createFromHostFunction(
|
|
3356
|
-
rt,
|
|
3357
|
-
jsi::PropNameID::forAscii(
|
|
3358
|
-
rt, "ubrn_uniffi_nobodywho_uniffi_fn_clone_rusttts"),
|
|
3359
|
-
1,
|
|
3360
|
-
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3361
|
-
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3362
|
-
return this->cpp_uniffi_nobodywho_uniffi_fn_clone_rusttts(
|
|
3363
|
-
rt, thisVal, args, count);
|
|
3364
|
-
});
|
|
3365
|
-
props["ubrn_uniffi_nobodywho_uniffi_fn_free_rusttts"] =
|
|
3473
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rustvoiceactivitydetection"] =
|
|
3366
3474
|
jsi::Function::createFromHostFunction(
|
|
3367
3475
|
rt,
|
|
3368
|
-
jsi::PropNameID::forAscii(
|
|
3369
|
-
|
|
3476
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_clone_"
|
|
3477
|
+
"rustvoiceactivitydetection"),
|
|
3370
3478
|
1,
|
|
3371
|
-
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3372
|
-
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3373
|
-
return this->cpp_uniffi_nobodywho_uniffi_fn_free_rusttts(
|
|
3374
|
-
rt, thisVal, args, count);
|
|
3375
|
-
});
|
|
3376
|
-
props["ubrn_uniffi_nobodywho_uniffi_fn_constructor_rusttts_new"] =
|
|
3377
|
-
jsi::Function::createFromHostFunction(
|
|
3378
|
-
rt,
|
|
3379
|
-
jsi::PropNameID::forAscii(
|
|
3380
|
-
rt, "ubrn_uniffi_nobodywho_uniffi_fn_constructor_rusttts_new"),
|
|
3381
|
-
11,
|
|
3382
|
-
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3383
|
-
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3384
|
-
return this->cpp_uniffi_nobodywho_uniffi_fn_constructor_rusttts_new(
|
|
3385
|
-
rt, thisVal, args, count);
|
|
3386
|
-
});
|
|
3387
|
-
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize"] =
|
|
3388
|
-
jsi::Function::createFromHostFunction(
|
|
3389
|
-
rt,
|
|
3390
|
-
jsi::PropNameID::forAscii(
|
|
3391
|
-
rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize"),
|
|
3392
|
-
2,
|
|
3393
3479
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3394
3480
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3395
3481
|
return this
|
|
3396
|
-
->
|
|
3482
|
+
->cpp_uniffi_nobodywho_uniffi_fn_clone_rustvoiceactivitydetection(
|
|
3397
3483
|
rt, thisVal, args, count);
|
|
3398
3484
|
});
|
|
3399
|
-
props["
|
|
3485
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_free_rustvoiceactivitydetection"] =
|
|
3400
3486
|
jsi::Function::createFromHostFunction(
|
|
3401
3487
|
rt,
|
|
3402
|
-
jsi::PropNameID::forAscii(rt, "
|
|
3403
|
-
"
|
|
3404
|
-
|
|
3488
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_free_"
|
|
3489
|
+
"rustvoiceactivitydetection"),
|
|
3490
|
+
1,
|
|
3405
3491
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3406
3492
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3407
3493
|
return this
|
|
3408
|
-
->
|
|
3494
|
+
->cpp_uniffi_nobodywho_uniffi_fn_free_rustvoiceactivitydetection(
|
|
3409
3495
|
rt, thisVal, args, count);
|
|
3410
3496
|
});
|
|
3497
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_constructor_"
|
|
3498
|
+
"rustvoiceactivitydetection_new"] = jsi::Function::createFromHostFunction(
|
|
3499
|
+
rt,
|
|
3500
|
+
jsi::PropNameID::forAscii(rt,
|
|
3501
|
+
"ubrn_uniffi_nobodywho_uniffi_fn_constructor_"
|
|
3502
|
+
"rustvoiceactivitydetection_new"),
|
|
3503
|
+
7,
|
|
3504
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3505
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3506
|
+
return this
|
|
3507
|
+
->cpp_uniffi_nobodywho_uniffi_fn_constructor_rustvoiceactivitydetection_new(
|
|
3508
|
+
rt, thisVal, args, count);
|
|
3509
|
+
});
|
|
3510
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_"
|
|
3511
|
+
"finish"] = jsi::Function::createFromHostFunction(
|
|
3512
|
+
rt,
|
|
3513
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3514
|
+
"rustvoiceactivitydetection_finish"),
|
|
3515
|
+
1,
|
|
3516
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3517
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3518
|
+
return this
|
|
3519
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_finish(
|
|
3520
|
+
rt, thisVal, args, count);
|
|
3521
|
+
});
|
|
3522
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_"
|
|
3523
|
+
"push"] = jsi::Function::createFromHostFunction(
|
|
3524
|
+
rt,
|
|
3525
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3526
|
+
"rustvoiceactivitydetection_push"),
|
|
3527
|
+
2,
|
|
3528
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3529
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3530
|
+
return this
|
|
3531
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_push(
|
|
3532
|
+
rt, thisVal, args, count);
|
|
3533
|
+
});
|
|
3534
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_"
|
|
3535
|
+
"segment"] = jsi::Function::createFromHostFunction(
|
|
3536
|
+
rt,
|
|
3537
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3538
|
+
"rustvoiceactivitydetection_segment"),
|
|
3539
|
+
2,
|
|
3540
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3541
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3542
|
+
return this
|
|
3543
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_segment(
|
|
3544
|
+
rt, thisVal, args, count);
|
|
3545
|
+
});
|
|
3411
3546
|
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_samplerbuilder"] =
|
|
3412
3547
|
jsi::Function::createFromHostFunction(
|
|
3413
3548
|
rt,
|
|
@@ -3732,16 +3867,41 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3732
3867
|
return this->cpp_uniffi_nobodywho_uniffi_fn_func_load_model(
|
|
3733
3868
|
rt, thisVal, args, count);
|
|
3734
3869
|
});
|
|
3735
|
-
props["
|
|
3870
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_func_load_speech_to_text"] =
|
|
3871
|
+
jsi::Function::createFromHostFunction(
|
|
3872
|
+
rt,
|
|
3873
|
+
jsi::PropNameID::forAscii(
|
|
3874
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_func_load_speech_to_text"),
|
|
3875
|
+
3,
|
|
3876
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3877
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3878
|
+
return this
|
|
3879
|
+
->cpp_uniffi_nobodywho_uniffi_fn_func_load_speech_to_text(
|
|
3880
|
+
rt, thisVal, args, count);
|
|
3881
|
+
});
|
|
3882
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_func_load_text_to_speech"] =
|
|
3736
3883
|
jsi::Function::createFromHostFunction(
|
|
3737
3884
|
rt,
|
|
3738
3885
|
jsi::PropNameID::forAscii(
|
|
3739
|
-
rt, "
|
|
3886
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_func_load_text_to_speech"),
|
|
3740
3887
|
11,
|
|
3741
3888
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3742
3889
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3743
|
-
return this
|
|
3744
|
-
|
|
3890
|
+
return this
|
|
3891
|
+
->cpp_uniffi_nobodywho_uniffi_fn_func_load_text_to_speech(
|
|
3892
|
+
rt, thisVal, args, count);
|
|
3893
|
+
});
|
|
3894
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_func_load_voice_activity_detection"] =
|
|
3895
|
+
jsi::Function::createFromHostFunction(
|
|
3896
|
+
rt,
|
|
3897
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_func_"
|
|
3898
|
+
"load_voice_activity_detection"),
|
|
3899
|
+
7,
|
|
3900
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3901
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3902
|
+
return this
|
|
3903
|
+
->cpp_uniffi_nobodywho_uniffi_fn_func_load_voice_activity_detection(
|
|
3904
|
+
rt, thisVal, args, count);
|
|
3745
3905
|
});
|
|
3746
3906
|
props["ubrn_uniffi_nobodywho_uniffi_fn_func_sampler_preset_constrain_with_"
|
|
3747
3907
|
"grammar"] = jsi::Function::createFromHostFunction(
|
|
@@ -4456,17 +4616,44 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4456
4616
|
return this->cpp_uniffi_nobodywho_uniffi_checksum_func_load_model(
|
|
4457
4617
|
rt, thisVal, args, count);
|
|
4458
4618
|
});
|
|
4459
|
-
props["
|
|
4619
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_func_load_speech_to_text"] =
|
|
4460
4620
|
jsi::Function::createFromHostFunction(
|
|
4461
4621
|
rt,
|
|
4462
4622
|
jsi::PropNameID::forAscii(
|
|
4463
|
-
rt,
|
|
4623
|
+
rt,
|
|
4624
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_func_load_speech_to_text"),
|
|
4464
4625
|
0,
|
|
4465
4626
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4466
4627
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4467
|
-
return this
|
|
4468
|
-
|
|
4628
|
+
return this
|
|
4629
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_func_load_speech_to_text(
|
|
4630
|
+
rt, thisVal, args, count);
|
|
4631
|
+
});
|
|
4632
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_func_load_text_to_speech"] =
|
|
4633
|
+
jsi::Function::createFromHostFunction(
|
|
4634
|
+
rt,
|
|
4635
|
+
jsi::PropNameID::forAscii(
|
|
4636
|
+
rt,
|
|
4637
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_func_load_text_to_speech"),
|
|
4638
|
+
0,
|
|
4639
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4640
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4641
|
+
return this
|
|
4642
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_func_load_text_to_speech(
|
|
4643
|
+
rt, thisVal, args, count);
|
|
4469
4644
|
});
|
|
4645
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_func_load_voice_activity_"
|
|
4646
|
+
"detection"] = jsi::Function::createFromHostFunction(
|
|
4647
|
+
rt,
|
|
4648
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4649
|
+
"func_load_voice_activity_detection"),
|
|
4650
|
+
0,
|
|
4651
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4652
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4653
|
+
return this
|
|
4654
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_func_load_voice_activity_detection(
|
|
4655
|
+
rt, thisVal, args, count);
|
|
4656
|
+
});
|
|
4470
4657
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_constrain_"
|
|
4471
4658
|
"with_grammar"] = jsi::Function::createFromHostFunction(
|
|
4472
4659
|
rt,
|
|
@@ -4869,6 +5056,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4869
5056
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode(
|
|
4870
5057
|
rt, thisVal, args, count);
|
|
4871
5058
|
});
|
|
5059
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode_"
|
|
5060
|
+
"batch"] = jsi::Function::createFromHostFunction(
|
|
5061
|
+
rt,
|
|
5062
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5063
|
+
"method_rustencoder_encode_batch"),
|
|
5064
|
+
0,
|
|
5065
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5066
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5067
|
+
return this
|
|
5068
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode_batch(
|
|
5069
|
+
rt, thisVal, args, count);
|
|
5070
|
+
});
|
|
4872
5071
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx"] =
|
|
4873
5072
|
jsi::Function::createFromHostFunction(
|
|
4874
5073
|
rt,
|
|
@@ -4882,52 +5081,76 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4882
5081
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx(
|
|
4883
5082
|
rt, thisVal, args, count);
|
|
4884
5083
|
});
|
|
4885
|
-
props["
|
|
4886
|
-
"
|
|
5084
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_"
|
|
5085
|
+
"transcribe_file"] = jsi::Function::createFromHostFunction(
|
|
4887
5086
|
rt,
|
|
4888
5087
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4889
|
-
"
|
|
5088
|
+
"method_rustspeechtotext_transcribe_file"),
|
|
4890
5089
|
0,
|
|
4891
5090
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4892
5091
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4893
5092
|
return this
|
|
4894
|
-
->
|
|
5093
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_file(
|
|
4895
5094
|
rt, thisVal, args, count);
|
|
4896
5095
|
});
|
|
4897
|
-
props["
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
props["
|
|
5096
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_"
|
|
5097
|
+
"transcribe_pcm"] = jsi::Function::createFromHostFunction(
|
|
5098
|
+
rt,
|
|
5099
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5100
|
+
"method_rustspeechtotext_transcribe_pcm"),
|
|
5101
|
+
0,
|
|
5102
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5103
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5104
|
+
return this
|
|
5105
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_pcm(
|
|
5106
|
+
rt, thisVal, args, count);
|
|
5107
|
+
});
|
|
5108
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_"
|
|
4910
5109
|
"completed"] = jsi::Function::createFromHostFunction(
|
|
4911
5110
|
rt,
|
|
4912
5111
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4913
|
-
"
|
|
5112
|
+
"method_rustspeechtotextstream_completed"),
|
|
4914
5113
|
0,
|
|
4915
5114
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4916
5115
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4917
5116
|
return this
|
|
4918
|
-
->
|
|
5117
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_completed(
|
|
4919
5118
|
rt, thisVal, args, count);
|
|
4920
5119
|
});
|
|
4921
|
-
props["
|
|
4922
|
-
"
|
|
5120
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_"
|
|
5121
|
+
"next_token"] = jsi::Function::createFromHostFunction(
|
|
5122
|
+
rt,
|
|
5123
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5124
|
+
"method_rustspeechtotextstream_next_token"),
|
|
5125
|
+
0,
|
|
5126
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5127
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5128
|
+
return this
|
|
5129
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_next_token(
|
|
5130
|
+
rt, thisVal, args, count);
|
|
5131
|
+
});
|
|
5132
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_"
|
|
5133
|
+
"synthesize"] = jsi::Function::createFromHostFunction(
|
|
5134
|
+
rt,
|
|
5135
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5136
|
+
"method_rusttexttospeech_synthesize"),
|
|
5137
|
+
0,
|
|
5138
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5139
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5140
|
+
return this
|
|
5141
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize(
|
|
5142
|
+
rt, thisVal, args, count);
|
|
5143
|
+
});
|
|
5144
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_"
|
|
5145
|
+
"synthesize_async"] = jsi::Function::createFromHostFunction(
|
|
4923
5146
|
rt,
|
|
4924
5147
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4925
|
-
"
|
|
5148
|
+
"method_rusttexttospeech_synthesize_async"),
|
|
4926
5149
|
0,
|
|
4927
5150
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4928
5151
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4929
5152
|
return this
|
|
4930
|
-
->
|
|
5153
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize_async(
|
|
4931
5154
|
rt, thisVal, args, count);
|
|
4932
5155
|
});
|
|
4933
5156
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_"
|
|
@@ -4990,35 +5213,51 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4990
5213
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttool_resolve_pending_call(
|
|
4991
5214
|
rt, thisVal, args, count);
|
|
4992
5215
|
});
|
|
4993
|
-
props["
|
|
5216
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_"
|
|
5217
|
+
"rustvoiceactivitydetection_finish"] =
|
|
4994
5218
|
jsi::Function::createFromHostFunction(
|
|
4995
5219
|
rt,
|
|
4996
|
-
jsi::PropNameID::forAscii(rt,
|
|
4997
|
-
|
|
5220
|
+
jsi::PropNameID::forAscii(rt,
|
|
5221
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5222
|
+
"method_rustvoiceactivitydetection_finish"),
|
|
4998
5223
|
0,
|
|
4999
5224
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5000
5225
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5001
5226
|
return this
|
|
5002
|
-
->
|
|
5227
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_finish(
|
|
5003
5228
|
rt, thisVal, args, count);
|
|
5004
5229
|
});
|
|
5005
|
-
props["
|
|
5006
|
-
"
|
|
5230
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_"
|
|
5231
|
+
"rustvoiceactivitydetection_push"] = jsi::Function::createFromHostFunction(
|
|
5007
5232
|
rt,
|
|
5008
5233
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5009
|
-
"
|
|
5234
|
+
"method_rustvoiceactivitydetection_push"),
|
|
5010
5235
|
0,
|
|
5011
5236
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5012
5237
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5013
5238
|
return this
|
|
5014
|
-
->
|
|
5239
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_push(
|
|
5015
5240
|
rt, thisVal, args, count);
|
|
5016
5241
|
});
|
|
5017
|
-
props["
|
|
5242
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_"
|
|
5243
|
+
"rustvoiceactivitydetection_segment"] =
|
|
5018
5244
|
jsi::Function::createFromHostFunction(
|
|
5019
5245
|
rt,
|
|
5020
|
-
jsi::PropNameID::forAscii(
|
|
5021
|
-
|
|
5246
|
+
jsi::PropNameID::forAscii(
|
|
5247
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_checksum_method_"
|
|
5248
|
+
"rustvoiceactivitydetection_segment"),
|
|
5249
|
+
0,
|
|
5250
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5251
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5252
|
+
return this
|
|
5253
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_segment(
|
|
5254
|
+
rt, thisVal, args, count);
|
|
5255
|
+
});
|
|
5256
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist"] =
|
|
5257
|
+
jsi::Function::createFromHostFunction(
|
|
5258
|
+
rt,
|
|
5259
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5260
|
+
"method_samplerbuilder_dist"),
|
|
5022
5261
|
0,
|
|
5023
5262
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5024
5263
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
@@ -5231,19 +5470,30 @@ NativeNobodywho::NativeNobodywho(
|
|
|
5231
5470
|
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustencoder_new(
|
|
5232
5471
|
rt, thisVal, args, count);
|
|
5233
5472
|
});
|
|
5234
|
-
props["
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5473
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_rustspeechtotext_"
|
|
5474
|
+
"new"] = jsi::Function::createFromHostFunction(
|
|
5475
|
+
rt,
|
|
5476
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5477
|
+
"constructor_rustspeechtotext_new"),
|
|
5478
|
+
0,
|
|
5479
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5480
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5481
|
+
return this
|
|
5482
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustspeechtotext_new(
|
|
5483
|
+
rt, thisVal, args, count);
|
|
5484
|
+
});
|
|
5485
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_rusttexttospeech_"
|
|
5486
|
+
"new"] = jsi::Function::createFromHostFunction(
|
|
5487
|
+
rt,
|
|
5488
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5489
|
+
"constructor_rusttexttospeech_new"),
|
|
5490
|
+
0,
|
|
5491
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5492
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5493
|
+
return this
|
|
5494
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rusttexttospeech_new(
|
|
5495
|
+
rt, thisVal, args, count);
|
|
5496
|
+
});
|
|
5247
5497
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new"] =
|
|
5248
5498
|
jsi::Function::createFromHostFunction(
|
|
5249
5499
|
rt,
|
|
@@ -5269,19 +5519,19 @@ NativeNobodywho::NativeNobodywho(
|
|
|
5269
5519
|
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new_async(
|
|
5270
5520
|
rt, thisVal, args, count);
|
|
5271
5521
|
});
|
|
5272
|
-
props["
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5522
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_"
|
|
5523
|
+
"rustvoiceactivitydetection_new"] = jsi::Function::createFromHostFunction(
|
|
5524
|
+
rt,
|
|
5525
|
+
jsi::PropNameID::forAscii(rt,
|
|
5526
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5527
|
+
"constructor_rustvoiceactivitydetection_new"),
|
|
5528
|
+
0,
|
|
5529
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5530
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5531
|
+
return this
|
|
5532
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustvoiceactivitydetection_new(
|
|
5533
|
+
rt, thisVal, args, count);
|
|
5534
|
+
});
|
|
5285
5535
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_samplerbuilder_"
|
|
5286
5536
|
"new"] = jsi::Function::createFromHostFunction(
|
|
5287
5537
|
rt,
|
|
@@ -5393,28 +5643,41 @@ NativeNobodywho::NativeNobodywho(
|
|
|
5393
5643
|
->cpp_uniffi_internal_fn_method_rustmodel_ffi__bless_pointer(
|
|
5394
5644
|
rt, thisVal, args, count);
|
|
5395
5645
|
});
|
|
5396
|
-
props["
|
|
5646
|
+
props["ubrn_uniffi_internal_fn_method_rustspeechtotext_ffi__bless_pointer"] =
|
|
5397
5647
|
jsi::Function::createFromHostFunction(
|
|
5398
5648
|
rt,
|
|
5399
|
-
jsi::PropNameID::forAscii(
|
|
5400
|
-
|
|
5649
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_method_"
|
|
5650
|
+
"rustspeechtotext_ffi__bless_pointer"),
|
|
5401
5651
|
1,
|
|
5402
5652
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5403
5653
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5404
5654
|
return this
|
|
5405
|
-
->
|
|
5655
|
+
->cpp_uniffi_internal_fn_method_rustspeechtotext_ffi__bless_pointer(
|
|
5406
5656
|
rt, thisVal, args, count);
|
|
5407
5657
|
});
|
|
5408
|
-
props["
|
|
5658
|
+
props["ubrn_uniffi_internal_fn_method_rustspeechtotextstream_ffi__bless_"
|
|
5659
|
+
"pointer"] = jsi::Function::createFromHostFunction(
|
|
5660
|
+
rt,
|
|
5661
|
+
jsi::PropNameID::forAscii(rt,
|
|
5662
|
+
"ubrn_uniffi_internal_fn_method_"
|
|
5663
|
+
"rustspeechtotextstream_ffi__bless_pointer"),
|
|
5664
|
+
1,
|
|
5665
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5666
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5667
|
+
return this
|
|
5668
|
+
->cpp_uniffi_internal_fn_method_rustspeechtotextstream_ffi__bless_pointer(
|
|
5669
|
+
rt, thisVal, args, count);
|
|
5670
|
+
});
|
|
5671
|
+
props["ubrn_uniffi_internal_fn_method_rusttexttospeech_ffi__bless_pointer"] =
|
|
5409
5672
|
jsi::Function::createFromHostFunction(
|
|
5410
5673
|
rt,
|
|
5411
5674
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_method_"
|
|
5412
|
-
"
|
|
5675
|
+
"rusttexttospeech_ffi__bless_pointer"),
|
|
5413
5676
|
1,
|
|
5414
5677
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5415
5678
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5416
5679
|
return this
|
|
5417
|
-
->
|
|
5680
|
+
->cpp_uniffi_internal_fn_method_rusttexttospeech_ffi__bless_pointer(
|
|
5418
5681
|
rt, thisVal, args, count);
|
|
5419
5682
|
});
|
|
5420
5683
|
props["ubrn_uniffi_internal_fn_method_rusttokenstream_ffi__bless_pointer"] =
|
|
@@ -5441,18 +5704,19 @@ NativeNobodywho::NativeNobodywho(
|
|
|
5441
5704
|
->cpp_uniffi_internal_fn_method_rusttool_ffi__bless_pointer(
|
|
5442
5705
|
rt, thisVal, args, count);
|
|
5443
5706
|
});
|
|
5444
|
-
props["
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
-
|
|
5454
|
-
|
|
5455
|
-
|
|
5707
|
+
props["ubrn_uniffi_internal_fn_method_rustvoiceactivitydetection_ffi__bless_"
|
|
5708
|
+
"pointer"] = jsi::Function::createFromHostFunction(
|
|
5709
|
+
rt,
|
|
5710
|
+
jsi::PropNameID::forAscii(
|
|
5711
|
+
rt, "ubrn_uniffi_internal_fn_method_rustvoiceactivitydetection_ffi__"
|
|
5712
|
+
"bless_pointer"),
|
|
5713
|
+
1,
|
|
5714
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5715
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5716
|
+
return this
|
|
5717
|
+
->cpp_uniffi_internal_fn_method_rustvoiceactivitydetection_ffi__bless_pointer(
|
|
5718
|
+
rt, thisVal, args, count);
|
|
5719
|
+
});
|
|
5456
5720
|
props["ubrn_uniffi_internal_fn_method_samplerbuilder_ffi__bless_pointer"] =
|
|
5457
5721
|
jsi::Function::createFromHostFunction(
|
|
5458
5722
|
rt,
|
|
@@ -5615,30 +5879,45 @@ NativeNobodywho::cpp_uniffi_internal_fn_method_rustmodel_ffi__bless_pointer(
|
|
|
5615
5879
|
auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
|
|
5616
5880
|
return jsi::Value(rt, obj);
|
|
5617
5881
|
}
|
|
5618
|
-
jsi::Value
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5882
|
+
jsi::Value NativeNobodywho::
|
|
5883
|
+
cpp_uniffi_internal_fn_method_rustspeechtotext_ffi__bless_pointer(
|
|
5884
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5885
|
+
size_t count) {
|
|
5622
5886
|
auto pointer =
|
|
5623
5887
|
uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
|
|
5624
5888
|
auto static destructor = [](uint64_t p) {
|
|
5625
5889
|
RustCallStatus status = {0};
|
|
5626
|
-
|
|
5890
|
+
uniffi_nobodywho_uniffi_fn_free_rustspeechtotext(p, &status);
|
|
5627
5891
|
};
|
|
5628
5892
|
auto ptrObj =
|
|
5629
5893
|
std::make_shared<uniffi_jsi::DestructibleObject>(pointer, destructor);
|
|
5630
5894
|
auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
|
|
5631
5895
|
return jsi::Value(rt, obj);
|
|
5632
5896
|
}
|
|
5633
|
-
jsi::Value
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5897
|
+
jsi::Value NativeNobodywho::
|
|
5898
|
+
cpp_uniffi_internal_fn_method_rustspeechtotextstream_ffi__bless_pointer(
|
|
5899
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5900
|
+
size_t count) {
|
|
5637
5901
|
auto pointer =
|
|
5638
5902
|
uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
|
|
5639
5903
|
auto static destructor = [](uint64_t p) {
|
|
5640
5904
|
RustCallStatus status = {0};
|
|
5641
|
-
|
|
5905
|
+
uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream(p, &status);
|
|
5906
|
+
};
|
|
5907
|
+
auto ptrObj =
|
|
5908
|
+
std::make_shared<uniffi_jsi::DestructibleObject>(pointer, destructor);
|
|
5909
|
+
auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
|
|
5910
|
+
return jsi::Value(rt, obj);
|
|
5911
|
+
}
|
|
5912
|
+
jsi::Value NativeNobodywho::
|
|
5913
|
+
cpp_uniffi_internal_fn_method_rusttexttospeech_ffi__bless_pointer(
|
|
5914
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5915
|
+
size_t count) {
|
|
5916
|
+
auto pointer =
|
|
5917
|
+
uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
|
|
5918
|
+
auto static destructor = [](uint64_t p) {
|
|
5919
|
+
RustCallStatus status = {0};
|
|
5920
|
+
uniffi_nobodywho_uniffi_fn_free_rusttexttospeech(p, &status);
|
|
5642
5921
|
};
|
|
5643
5922
|
auto ptrObj =
|
|
5644
5923
|
std::make_shared<uniffi_jsi::DestructibleObject>(pointer, destructor);
|
|
@@ -5675,15 +5954,15 @@ NativeNobodywho::cpp_uniffi_internal_fn_method_rusttool_ffi__bless_pointer(
|
|
|
5675
5954
|
auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
|
|
5676
5955
|
return jsi::Value(rt, obj);
|
|
5677
5956
|
}
|
|
5678
|
-
jsi::Value
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5957
|
+
jsi::Value NativeNobodywho::
|
|
5958
|
+
cpp_uniffi_internal_fn_method_rustvoiceactivitydetection_ffi__bless_pointer(
|
|
5959
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5960
|
+
size_t count) {
|
|
5682
5961
|
auto pointer =
|
|
5683
5962
|
uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
|
|
5684
5963
|
auto static destructor = [](uint64_t p) {
|
|
5685
5964
|
RustCallStatus status = {0};
|
|
5686
|
-
|
|
5965
|
+
uniffi_nobodywho_uniffi_fn_free_rustvoiceactivitydetection(p, &status);
|
|
5687
5966
|
};
|
|
5688
5967
|
auto ptrObj =
|
|
5689
5968
|
std::make_shared<uniffi_jsi::DestructibleObject>(pointer, destructor);
|
|
@@ -6160,6 +6439,19 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustencoder_encode(
|
|
|
6160
6439
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6161
6440
|
value);
|
|
6162
6441
|
}
|
|
6442
|
+
jsi::Value
|
|
6443
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustencoder_encode_batch(
|
|
6444
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6445
|
+
size_t count) {
|
|
6446
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_rustencoder_encode_batch(
|
|
6447
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6448
|
+
args[0]),
|
|
6449
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6450
|
+
args[1]));
|
|
6451
|
+
|
|
6452
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6453
|
+
value);
|
|
6454
|
+
}
|
|
6163
6455
|
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rustmodel(
|
|
6164
6456
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6165
6457
|
size_t count) {
|
|
@@ -6204,12 +6496,13 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
|
|
|
6204
6496
|
|
|
6205
6497
|
return uniffi_jsi::Bridging<uint32_t>::toJs(rt, callInvoker, value);
|
|
6206
6498
|
}
|
|
6207
|
-
jsi::Value
|
|
6499
|
+
jsi::Value
|
|
6500
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext(
|
|
6208
6501
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6209
6502
|
size_t count) {
|
|
6210
6503
|
RustCallStatus status =
|
|
6211
6504
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6212
|
-
auto value =
|
|
6505
|
+
auto value = uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext(
|
|
6213
6506
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6214
6507
|
args[0]),
|
|
6215
6508
|
&status);
|
|
@@ -6219,12 +6512,13 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_ruststt(
|
|
|
6219
6512
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6220
6513
|
value);
|
|
6221
6514
|
}
|
|
6222
|
-
jsi::Value
|
|
6515
|
+
jsi::Value
|
|
6516
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rustspeechtotext(
|
|
6223
6517
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6224
6518
|
size_t count) {
|
|
6225
6519
|
RustCallStatus status =
|
|
6226
6520
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6227
|
-
|
|
6521
|
+
uniffi_nobodywho_uniffi_fn_free_rustspeechtotext(
|
|
6228
6522
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6229
6523
|
args[0]),
|
|
6230
6524
|
&status);
|
|
@@ -6233,13 +6527,13 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_ruststt(
|
|
|
6233
6527
|
|
|
6234
6528
|
return jsi::Value::undefined();
|
|
6235
6529
|
}
|
|
6236
|
-
jsi::Value
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6530
|
+
jsi::Value NativeNobodywho::
|
|
6531
|
+
cpp_uniffi_nobodywho_uniffi_fn_constructor_rustspeechtotext_new(
|
|
6532
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6533
|
+
size_t count) {
|
|
6240
6534
|
RustCallStatus status =
|
|
6241
6535
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6242
|
-
auto value =
|
|
6536
|
+
auto value = uniffi_nobodywho_uniffi_fn_constructor_rustspeechtotext_new(
|
|
6243
6537
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
6244
6538
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6245
6539
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
|
|
@@ -6250,16 +6544,54 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_constructor_ruststt_new(
|
|
|
6250
6544
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6251
6545
|
value);
|
|
6252
6546
|
}
|
|
6547
|
+
jsi::Value NativeNobodywho::
|
|
6548
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_file(
|
|
6549
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6550
|
+
size_t count) {
|
|
6551
|
+
RustCallStatus status =
|
|
6552
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6553
|
+
auto value =
|
|
6554
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_file(
|
|
6555
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6556
|
+
args[0]),
|
|
6557
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6558
|
+
args[1]),
|
|
6559
|
+
&status);
|
|
6560
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6561
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6562
|
+
|
|
6563
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6564
|
+
value);
|
|
6565
|
+
}
|
|
6566
|
+
jsi::Value NativeNobodywho::
|
|
6567
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_pcm(
|
|
6568
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6569
|
+
size_t count) {
|
|
6570
|
+
RustCallStatus status =
|
|
6571
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6572
|
+
auto value =
|
|
6573
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_pcm(
|
|
6574
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6575
|
+
args[0]),
|
|
6576
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6577
|
+
args[1]),
|
|
6578
|
+
uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[2]),
|
|
6579
|
+
&status);
|
|
6580
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6581
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6582
|
+
|
|
6583
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6584
|
+
value);
|
|
6585
|
+
}
|
|
6253
6586
|
jsi::Value
|
|
6254
|
-
NativeNobodywho::
|
|
6587
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotextstream(
|
|
6255
6588
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6256
6589
|
size_t count) {
|
|
6257
6590
|
RustCallStatus status =
|
|
6258
6591
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6259
|
-
auto value =
|
|
6592
|
+
auto value = uniffi_nobodywho_uniffi_fn_clone_rustspeechtotextstream(
|
|
6260
6593
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6261
6594
|
args[0]),
|
|
6262
|
-
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6263
6595
|
&status);
|
|
6264
6596
|
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6265
6597
|
rt, callInvoker, status, args[count - 1]);
|
|
@@ -6268,29 +6600,51 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_file(
|
|
|
6268
6600
|
value);
|
|
6269
6601
|
}
|
|
6270
6602
|
jsi::Value
|
|
6271
|
-
NativeNobodywho::
|
|
6603
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream(
|
|
6272
6604
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6273
6605
|
size_t count) {
|
|
6274
6606
|
RustCallStatus status =
|
|
6275
6607
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6276
|
-
|
|
6608
|
+
uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream(
|
|
6277
6609
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6278
6610
|
args[0]),
|
|
6279
|
-
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6280
|
-
uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[2]),
|
|
6281
6611
|
&status);
|
|
6282
6612
|
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6283
6613
|
rt, callInvoker, status, args[count - 1]);
|
|
6284
6614
|
|
|
6615
|
+
return jsi::Value::undefined();
|
|
6616
|
+
}
|
|
6617
|
+
jsi::Value NativeNobodywho::
|
|
6618
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_completed(
|
|
6619
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6620
|
+
size_t count) {
|
|
6621
|
+
auto value =
|
|
6622
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_completed(
|
|
6623
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6624
|
+
args[0]));
|
|
6625
|
+
|
|
6285
6626
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6286
6627
|
value);
|
|
6287
6628
|
}
|
|
6288
|
-
jsi::Value NativeNobodywho::
|
|
6629
|
+
jsi::Value NativeNobodywho::
|
|
6630
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_next_token(
|
|
6631
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6632
|
+
size_t count) {
|
|
6633
|
+
auto value =
|
|
6634
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_next_token(
|
|
6635
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6636
|
+
args[0]));
|
|
6637
|
+
|
|
6638
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6639
|
+
value);
|
|
6640
|
+
}
|
|
6641
|
+
jsi::Value
|
|
6642
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rusttexttospeech(
|
|
6289
6643
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6290
6644
|
size_t count) {
|
|
6291
6645
|
RustCallStatus status =
|
|
6292
6646
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6293
|
-
auto value =
|
|
6647
|
+
auto value = uniffi_nobodywho_uniffi_fn_clone_rusttexttospeech(
|
|
6294
6648
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6295
6649
|
args[0]),
|
|
6296
6650
|
&status);
|
|
@@ -6300,12 +6654,13 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_ruststtstream(
|
|
|
6300
6654
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6301
6655
|
value);
|
|
6302
6656
|
}
|
|
6303
|
-
jsi::Value
|
|
6657
|
+
jsi::Value
|
|
6658
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rusttexttospeech(
|
|
6304
6659
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6305
6660
|
size_t count) {
|
|
6306
6661
|
RustCallStatus status =
|
|
6307
6662
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6308
|
-
|
|
6663
|
+
uniffi_nobodywho_uniffi_fn_free_rusttexttospeech(
|
|
6309
6664
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6310
6665
|
args[0]),
|
|
6311
6666
|
&status);
|
|
@@ -6314,24 +6669,58 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_ruststtstream(
|
|
|
6314
6669
|
|
|
6315
6670
|
return jsi::Value::undefined();
|
|
6316
6671
|
}
|
|
6317
|
-
jsi::Value
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
|
|
6322
|
-
|
|
6323
|
-
|
|
6672
|
+
jsi::Value NativeNobodywho::
|
|
6673
|
+
cpp_uniffi_nobodywho_uniffi_fn_constructor_rusttexttospeech_new(
|
|
6674
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6675
|
+
size_t count) {
|
|
6676
|
+
RustCallStatus status =
|
|
6677
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6678
|
+
auto value = uniffi_nobodywho_uniffi_fn_constructor_rusttexttospeech_new(
|
|
6679
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
6680
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6681
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
|
|
6682
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]),
|
|
6683
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[4]),
|
|
6684
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[5]),
|
|
6685
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[6]),
|
|
6686
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[7]),
|
|
6687
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[8]),
|
|
6688
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[9]),
|
|
6689
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6690
|
+
args[10]),
|
|
6691
|
+
&status);
|
|
6692
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6693
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6324
6694
|
|
|
6325
6695
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6326
6696
|
value);
|
|
6327
6697
|
}
|
|
6328
|
-
jsi::Value
|
|
6329
|
-
|
|
6330
|
-
|
|
6331
|
-
|
|
6332
|
-
|
|
6698
|
+
jsi::Value NativeNobodywho::
|
|
6699
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize(
|
|
6700
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6701
|
+
size_t count) {
|
|
6702
|
+
RustCallStatus status =
|
|
6703
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6704
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize(
|
|
6333
6705
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6334
|
-
args[0])
|
|
6706
|
+
args[0]),
|
|
6707
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6708
|
+
&status);
|
|
6709
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6710
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6711
|
+
|
|
6712
|
+
return uniffi::nobodywho::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
6713
|
+
}
|
|
6714
|
+
jsi::Value NativeNobodywho::
|
|
6715
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize_async(
|
|
6716
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6717
|
+
size_t count) {
|
|
6718
|
+
auto value =
|
|
6719
|
+
uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize_async(
|
|
6720
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6721
|
+
args[0]),
|
|
6722
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6723
|
+
args[1]));
|
|
6335
6724
|
|
|
6336
6725
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6337
6726
|
value);
|
|
@@ -6495,12 +6884,13 @@ jsi::Value NativeNobodywho::
|
|
|
6495
6884
|
|
|
6496
6885
|
return jsi::Value::undefined();
|
|
6497
6886
|
}
|
|
6498
|
-
jsi::Value NativeNobodywho::
|
|
6499
|
-
|
|
6500
|
-
|
|
6887
|
+
jsi::Value NativeNobodywho::
|
|
6888
|
+
cpp_uniffi_nobodywho_uniffi_fn_clone_rustvoiceactivitydetection(
|
|
6889
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6890
|
+
size_t count) {
|
|
6501
6891
|
RustCallStatus status =
|
|
6502
6892
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6503
|
-
auto value =
|
|
6893
|
+
auto value = uniffi_nobodywho_uniffi_fn_clone_rustvoiceactivitydetection(
|
|
6504
6894
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6505
6895
|
args[0]),
|
|
6506
6896
|
&status);
|
|
@@ -6510,12 +6900,13 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rusttts(
|
|
|
6510
6900
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6511
6901
|
value);
|
|
6512
6902
|
}
|
|
6513
|
-
jsi::Value
|
|
6903
|
+
jsi::Value
|
|
6904
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rustvoiceactivitydetection(
|
|
6514
6905
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6515
6906
|
size_t count) {
|
|
6516
6907
|
RustCallStatus status =
|
|
6517
6908
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6518
|
-
|
|
6909
|
+
uniffi_nobodywho_uniffi_fn_free_rustvoiceactivitydetection(
|
|
6519
6910
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6520
6911
|
args[0]),
|
|
6521
6912
|
&status);
|
|
@@ -6524,60 +6915,85 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rusttts(
|
|
|
6524
6915
|
|
|
6525
6916
|
return jsi::Value::undefined();
|
|
6526
6917
|
}
|
|
6527
|
-
jsi::Value
|
|
6528
|
-
|
|
6529
|
-
|
|
6530
|
-
|
|
6918
|
+
jsi::Value NativeNobodywho::
|
|
6919
|
+
cpp_uniffi_nobodywho_uniffi_fn_constructor_rustvoiceactivitydetection_new(
|
|
6920
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6921
|
+
size_t count) {
|
|
6531
6922
|
RustCallStatus status =
|
|
6532
6923
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6533
|
-
auto value =
|
|
6534
|
-
|
|
6535
|
-
|
|
6536
|
-
|
|
6537
|
-
|
|
6538
|
-
|
|
6539
|
-
|
|
6540
|
-
|
|
6541
|
-
|
|
6542
|
-
|
|
6543
|
-
|
|
6544
|
-
|
|
6545
|
-
|
|
6546
|
-
|
|
6924
|
+
auto value =
|
|
6925
|
+
uniffi_nobodywho_uniffi_fn_constructor_rustvoiceactivitydetection_new(
|
|
6926
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6927
|
+
args[0]),
|
|
6928
|
+
uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[1]),
|
|
6929
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6930
|
+
args[2]),
|
|
6931
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6932
|
+
args[3]),
|
|
6933
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6934
|
+
args[4]),
|
|
6935
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6936
|
+
args[5]),
|
|
6937
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6938
|
+
args[6]),
|
|
6939
|
+
&status);
|
|
6547
6940
|
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6548
6941
|
rt, callInvoker, status, args[count - 1]);
|
|
6549
6942
|
|
|
6550
6943
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6551
6944
|
value);
|
|
6552
6945
|
}
|
|
6553
|
-
jsi::Value
|
|
6554
|
-
|
|
6555
|
-
|
|
6556
|
-
|
|
6946
|
+
jsi::Value NativeNobodywho::
|
|
6947
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_finish(
|
|
6948
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6949
|
+
size_t count) {
|
|
6557
6950
|
RustCallStatus status =
|
|
6558
6951
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6559
|
-
auto value =
|
|
6560
|
-
|
|
6561
|
-
|
|
6562
|
-
|
|
6563
|
-
|
|
6952
|
+
auto value =
|
|
6953
|
+
uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_finish(
|
|
6954
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6955
|
+
args[0]),
|
|
6956
|
+
&status);
|
|
6564
6957
|
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6565
6958
|
rt, callInvoker, status, args[count - 1]);
|
|
6566
6959
|
|
|
6567
6960
|
return uniffi::nobodywho::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
6568
6961
|
}
|
|
6569
|
-
jsi::Value
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
|
|
6574
|
-
|
|
6575
|
-
|
|
6576
|
-
|
|
6577
|
-
|
|
6962
|
+
jsi::Value NativeNobodywho::
|
|
6963
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_push(
|
|
6964
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6965
|
+
size_t count) {
|
|
6966
|
+
RustCallStatus status =
|
|
6967
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6968
|
+
auto value =
|
|
6969
|
+
uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_push(
|
|
6970
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6971
|
+
args[0]),
|
|
6972
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6973
|
+
args[1]),
|
|
6974
|
+
&status);
|
|
6975
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6976
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6578
6977
|
|
|
6579
|
-
return
|
|
6580
|
-
|
|
6978
|
+
return uniffi::nobodywho::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
6979
|
+
}
|
|
6980
|
+
jsi::Value NativeNobodywho::
|
|
6981
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_segment(
|
|
6982
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6983
|
+
size_t count) {
|
|
6984
|
+
RustCallStatus status =
|
|
6985
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6986
|
+
auto value =
|
|
6987
|
+
uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_segment(
|
|
6988
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6989
|
+
args[0]),
|
|
6990
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6991
|
+
args[1]),
|
|
6992
|
+
&status);
|
|
6993
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6994
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6995
|
+
|
|
6996
|
+
return uniffi::nobodywho::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
6581
6997
|
}
|
|
6582
6998
|
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_samplerbuilder(
|
|
6583
6999
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -7011,10 +7427,24 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_load_model(
|
|
|
7011
7427
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
7012
7428
|
value);
|
|
7013
7429
|
}
|
|
7014
|
-
jsi::Value
|
|
7430
|
+
jsi::Value
|
|
7431
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_load_speech_to_text(
|
|
7015
7432
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7016
7433
|
size_t count) {
|
|
7017
|
-
auto value =
|
|
7434
|
+
auto value = uniffi_nobodywho_uniffi_fn_func_load_speech_to_text(
|
|
7435
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
7436
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
7437
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
7438
|
+
args[2]));
|
|
7439
|
+
|
|
7440
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
7441
|
+
value);
|
|
7442
|
+
}
|
|
7443
|
+
jsi::Value
|
|
7444
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_load_text_to_speech(
|
|
7445
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7446
|
+
size_t count) {
|
|
7447
|
+
auto value = uniffi_nobodywho_uniffi_fn_func_load_text_to_speech(
|
|
7018
7448
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
7019
7449
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
7020
7450
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
|
|
@@ -7031,6 +7461,23 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_load_tts(
|
|
|
7031
7461
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
7032
7462
|
value);
|
|
7033
7463
|
}
|
|
7464
|
+
jsi::Value NativeNobodywho::
|
|
7465
|
+
cpp_uniffi_nobodywho_uniffi_fn_func_load_voice_activity_detection(
|
|
7466
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7467
|
+
size_t count) {
|
|
7468
|
+
auto value = uniffi_nobodywho_uniffi_fn_func_load_voice_activity_detection(
|
|
7469
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
7470
|
+
uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[1]),
|
|
7471
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
|
|
7472
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]),
|
|
7473
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[4]),
|
|
7474
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[5]),
|
|
7475
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
7476
|
+
args[6]));
|
|
7477
|
+
|
|
7478
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
7479
|
+
value);
|
|
7480
|
+
}
|
|
7034
7481
|
jsi::Value NativeNobodywho::
|
|
7035
7482
|
cpp_uniffi_nobodywho_uniffi_fn_func_sampler_preset_constrain_with_grammar(
|
|
7036
7483
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -7767,10 +8214,28 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_func_load_model(
|
|
|
7767
8214
|
|
|
7768
8215
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7769
8216
|
}
|
|
7770
|
-
jsi::Value
|
|
8217
|
+
jsi::Value
|
|
8218
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_func_load_speech_to_text(
|
|
8219
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8220
|
+
size_t count) {
|
|
8221
|
+
auto value = uniffi_nobodywho_uniffi_checksum_func_load_speech_to_text();
|
|
8222
|
+
|
|
8223
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8224
|
+
}
|
|
8225
|
+
jsi::Value
|
|
8226
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_func_load_text_to_speech(
|
|
7771
8227
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7772
8228
|
size_t count) {
|
|
7773
|
-
auto value =
|
|
8229
|
+
auto value = uniffi_nobodywho_uniffi_checksum_func_load_text_to_speech();
|
|
8230
|
+
|
|
8231
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8232
|
+
}
|
|
8233
|
+
jsi::Value NativeNobodywho::
|
|
8234
|
+
cpp_uniffi_nobodywho_uniffi_checksum_func_load_voice_activity_detection(
|
|
8235
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8236
|
+
size_t count) {
|
|
8237
|
+
auto value =
|
|
8238
|
+
uniffi_nobodywho_uniffi_checksum_func_load_voice_activity_detection();
|
|
7774
8239
|
|
|
7775
8240
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7776
8241
|
}
|
|
@@ -8056,6 +8521,15 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode(
|
|
|
8056
8521
|
|
|
8057
8522
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8058
8523
|
}
|
|
8524
|
+
jsi::Value NativeNobodywho::
|
|
8525
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode_batch(
|
|
8526
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8527
|
+
size_t count) {
|
|
8528
|
+
auto value =
|
|
8529
|
+
uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode_batch();
|
|
8530
|
+
|
|
8531
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8532
|
+
}
|
|
8059
8533
|
jsi::Value
|
|
8060
8534
|
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx(
|
|
8061
8535
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -8065,37 +8539,56 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx(
|
|
|
8065
8539
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8066
8540
|
}
|
|
8067
8541
|
jsi::Value NativeNobodywho::
|
|
8068
|
-
|
|
8542
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_file(
|
|
8543
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8544
|
+
size_t count) {
|
|
8545
|
+
auto value =
|
|
8546
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_file();
|
|
8547
|
+
|
|
8548
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8549
|
+
}
|
|
8550
|
+
jsi::Value NativeNobodywho::
|
|
8551
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_pcm(
|
|
8069
8552
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8070
8553
|
size_t count) {
|
|
8071
8554
|
auto value =
|
|
8072
|
-
|
|
8555
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_pcm();
|
|
8073
8556
|
|
|
8074
8557
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8075
8558
|
}
|
|
8076
8559
|
jsi::Value NativeNobodywho::
|
|
8077
|
-
|
|
8560
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_completed(
|
|
8078
8561
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8079
8562
|
size_t count) {
|
|
8080
|
-
auto value =
|
|
8563
|
+
auto value =
|
|
8564
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_completed();
|
|
8081
8565
|
|
|
8082
8566
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8083
8567
|
}
|
|
8084
8568
|
jsi::Value NativeNobodywho::
|
|
8085
|
-
|
|
8569
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_next_token(
|
|
8086
8570
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8087
8571
|
size_t count) {
|
|
8088
8572
|
auto value =
|
|
8089
|
-
|
|
8573
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_next_token();
|
|
8090
8574
|
|
|
8091
8575
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8092
8576
|
}
|
|
8093
8577
|
jsi::Value NativeNobodywho::
|
|
8094
|
-
|
|
8578
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize(
|
|
8095
8579
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8096
8580
|
size_t count) {
|
|
8097
8581
|
auto value =
|
|
8098
|
-
|
|
8582
|
+
uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize();
|
|
8583
|
+
|
|
8584
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8585
|
+
}
|
|
8586
|
+
jsi::Value NativeNobodywho::
|
|
8587
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize_async(
|
|
8588
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8589
|
+
size_t count) {
|
|
8590
|
+
auto value =
|
|
8591
|
+
uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize_async();
|
|
8099
8592
|
|
|
8100
8593
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8101
8594
|
}
|
|
@@ -8144,20 +8637,30 @@ jsi::Value NativeNobodywho::
|
|
|
8144
8637
|
|
|
8145
8638
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8146
8639
|
}
|
|
8147
|
-
jsi::Value
|
|
8148
|
-
|
|
8149
|
-
|
|
8150
|
-
|
|
8151
|
-
auto value =
|
|
8640
|
+
jsi::Value NativeNobodywho::
|
|
8641
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_finish(
|
|
8642
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8643
|
+
size_t count) {
|
|
8644
|
+
auto value =
|
|
8645
|
+
uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_finish();
|
|
8152
8646
|
|
|
8153
8647
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8154
8648
|
}
|
|
8155
8649
|
jsi::Value NativeNobodywho::
|
|
8156
|
-
|
|
8650
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_push(
|
|
8157
8651
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8158
8652
|
size_t count) {
|
|
8159
8653
|
auto value =
|
|
8160
|
-
|
|
8654
|
+
uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_push();
|
|
8655
|
+
|
|
8656
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8657
|
+
}
|
|
8658
|
+
jsi::Value NativeNobodywho::
|
|
8659
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_segment(
|
|
8660
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8661
|
+
size_t count) {
|
|
8662
|
+
auto value =
|
|
8663
|
+
uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_segment();
|
|
8161
8664
|
|
|
8162
8665
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8163
8666
|
}
|
|
@@ -8311,11 +8814,21 @@ jsi::Value NativeNobodywho::
|
|
|
8311
8814
|
|
|
8312
8815
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8313
8816
|
}
|
|
8314
|
-
jsi::Value
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
|
|
8318
|
-
auto value =
|
|
8817
|
+
jsi::Value NativeNobodywho::
|
|
8818
|
+
cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustspeechtotext_new(
|
|
8819
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8820
|
+
size_t count) {
|
|
8821
|
+
auto value =
|
|
8822
|
+
uniffi_nobodywho_uniffi_checksum_constructor_rustspeechtotext_new();
|
|
8823
|
+
|
|
8824
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8825
|
+
}
|
|
8826
|
+
jsi::Value NativeNobodywho::
|
|
8827
|
+
cpp_uniffi_nobodywho_uniffi_checksum_constructor_rusttexttospeech_new(
|
|
8828
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8829
|
+
size_t count) {
|
|
8830
|
+
auto value =
|
|
8831
|
+
uniffi_nobodywho_uniffi_checksum_constructor_rusttexttospeech_new();
|
|
8319
8832
|
|
|
8320
8833
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8321
8834
|
}
|
|
@@ -8336,11 +8849,12 @@ jsi::Value NativeNobodywho::
|
|
|
8336
8849
|
|
|
8337
8850
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8338
8851
|
}
|
|
8339
|
-
jsi::Value
|
|
8340
|
-
|
|
8341
|
-
|
|
8342
|
-
|
|
8343
|
-
auto value =
|
|
8852
|
+
jsi::Value NativeNobodywho::
|
|
8853
|
+
cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustvoiceactivitydetection_new(
|
|
8854
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8855
|
+
size_t count) {
|
|
8856
|
+
auto value =
|
|
8857
|
+
uniffi_nobodywho_uniffi_checksum_constructor_rustvoiceactivitydetection_new();
|
|
8344
8858
|
|
|
8345
8859
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8346
8860
|
}
|