Speex: Engine: pass labels

This commit is contained in:
Enrico Ros
2026-03-05 16:45:59 -08:00
parent 5a48256d77
commit 5273352ae9
2 changed files with 2 additions and 1 deletions
@@ -74,7 +74,7 @@ function PreviewButton({ engineId }: { engineId: DSpeexEngineAny['engineId'] })
const result = await speakText(
SPEEX_PREVIEW_TEXT,
{ engineId: engineId },
{ rpcDisableStreaming: !SPEEX_PREVIEW_STREAM },
{ label: 'Engine preview', rpcDisableStreaming: !SPEEX_PREVIEW_STREAM },
signal,
);
if (!result.success && !signal.aborted) throw new Error(result.errorText || 'Preview failed');
@@ -61,6 +61,7 @@ export function SpeexSystemTest() {
customText,
undefined,
{
label: 'System test',
maxChunkLength,
disableUnspeakable: noCleanup,
rpcDisableStreaming: noStreaming,