core: references for an audio generator -- a request's clips of a voice and their transcripts (RadAudioGenDecl::tmpl_ref, ref_item), decoded to mono at the model's rate and padded to whole frames, each frame a prompt row the plugin encodes in the PROMPT pass (RadAudioGenBatch::ref_audio, ref_cu, ref_frame); /v1/audio/speech's and the streaming session's references

This commit is contained in:
zivius committed 2026-10-21 01:00:13 +02:00
1 parent 4e750fed01
commit bdc5c5b063
13 files changed
+396 -24

No files matched your search

+6
View File
@@ -2501,6 +2501,12 @@ int Engine::run_server() {
in.max_lanes = ad.max_lanes;
in.branches = ad.branches == 1 ? 1 : 2;
in.input_special = ad.input_special != 0;
in.tmpl_ref = pg.agen_str.tmpl_ref;
in.ref_item = pg.agen_str.ref_item;
in.ref_rate = ad.ref_rate;
in.ref_hop = ad.ref_hop;
in.ref_max_samples = ad.ref_max_samples;
in.ref_max = ad.ref_max;
audio_bridge.drv = aud_gen_;
audio_bridge.plugins = &plugins_;
d.audio = &audio_bridge;