neser 1.2.0

NESER - Nintendo Emulation Systems Engine (Rust). Desktop and WebAssembly frontends.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Shared audio infrastructure for NES emulator frontends.
//!
//! This module provides backend-agnostic audio types and utilities
//! shared audio infrastructure for the native frontend.

mod audio_trait;
mod resampler;
pub(crate) mod types;

pub use audio_trait::EmulatorAudio;
pub use resampler::AudioResampler;
// AudioConsumer and AudioStats are used by the audio callback; AudioProducer by the emulation loop.
#[allow(unused_imports)]
pub use types::{
    AudioConsumer, AudioProducer, AudioStats, normalize_nes_sample, queue_stereo_sample_to_producer,
};