audio_kit_graph 0.1.0 copy "audio_kit_graph: ^0.1.0" to clipboard
audio_kit_graph: ^0.1.0 copied to clipboard

Bounded, failure-isolated N-way routing for provider-neutral audio.

audio_kit_graph #

Bounded, failure-isolated N-way audio routing built on audio_core.

Each route has its own mailbox, capacity, overflow policy, lifecycle, metrics, and discontinuity reporting. A slow meter or network provider cannot block a realtime capture callback or corrupt a healthy recording branch.

import 'package:audio_kit_graph/audio_kit_graph.dart';

final hub = await AudioHub.prepare(source);
hub.attachPrepared(
  id: 'primary-stt',
  sink: preparedSpeechSession,
  options: AudioRouteOptions.lossless(
    capacityFrames: 20,
    capacitySampleFrames: 32000,
  ),
);
await hub.start();

Ordering is guaranteed per source and route. Synchronizing or mixing separate microphone and system-audio clocks is an explicit audio_processing step.

See the Audio Kit repository for overflow policies and lifecycle guarantees.

0
likes
150
points
0
downloads

Documentation

API reference

Publisher

verified publisherksh.dev

Weekly Downloads

Bounded, failure-isolated N-way routing for provider-neutral audio.

Repository (GitHub)
View/report issues

Topics

#audio #routing #streaming #pipeline

License

MIT (license)

Dependencies

audio_core

More

Packages that depend on audio_kit_graph