sim-logic 0.1.0

A code-first application and logic layer for Sim;Engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Optional application-owned output for one streaming mono PCM source.
//!
//! The `audio` feature uses Rodio for device output and conversion. Keep the
//! output guard outside World factories and renderer ownership. Opening or
//! playing audio is an immediate external operation, not a transactional ECS
//! command: a later failed stage cannot undo sound already submitted.
//!
//! This module provides no note scheduler, codec, voice mixer, World lifetime
//! policy, or automatic device recovery. Applications own their source and
//! controls. Offline source tests need no output device.

mod output;

pub use output::{
    AudioOutput, AudioOutputConfig, AudioOutputError, AudioOutputInfo, AudioOutputStatus,
    AudioPlayback,
};