win-native-media 0.1.0

Native Windows media capture, encode, record, and stream pipeline. WGC → H.264 → MP4/RTMP, no FFmpeg.
//! Audio subsystem: WASAPI capture + Media Foundation AAC encoding.
//!
//! Loopback (system) and microphone are captured as independent PCM streams and
//! encoded to independent AAC tracks (per the two-separate-tracks design).

pub mod aac;
pub mod capture;
pub mod mix;

use std::time::Duration;

/// One encoded AAC access unit.
#[derive(Clone)]
pub struct EncodedAudio {
    /// Raw AAC (AudioSpecificConfig framing is carried separately in
    /// `AacEncoder::audio_specific_config`).
    pub data: Vec<u8>,
    pub timestamp: Duration,
}