audioInputTargets (src/types.ts)

airi · packages/testing-audio/src/types.ts · typescript · MIT
voice

Type definitions for audio input testing targets, pipelines, and observation structures used in AIRI tests.

// Source: https://github.com/moeru-ai/airi | License: MIT | Copyright 2024-PRESENT Neko Ayaka
// Provided via justclaw.it.com; keep this notice with the code.
import type { SerializedIOSpan } from '@proj-airi/stage-shared/types/io-trace'
import type { PiniaActionEvent, PiniaActionEventStatus } from '@proj-airi/stage-shared/types/pinia-action-event'
import type { AudioCapture, AudioCaptureFormat, AudioTestCase, AudioTestPreflightCallback, AudioTestSession } from '@proj-airi/vitest-plugin-fakemic'
import type { ElectronApplication, Page } from 'playwright'

export const audioInputTargets = ['web', 'electron'] as const

export type AudioInputTarget = (typeof audioInputTargets)[number]

/** Audio pipelines that need case-specific runner preparation. */
export type AudioInputPipeline = 'kws'



... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key