pub mod xma;
pub mod xma2_codec;
pub mod xma_decode;

pub use xma::{build_mmio_region, XmaDecoder, XMA_CONTEXT_COUNT, XMA_CONTEXT_SIZE};

/// Audio processing unit stub. Logging only for now.
pub struct AudioSystem {
    pub enabled: bool,
}

impl AudioSystem {
    pub fn new() -> Self {
        Self { enabled: false }
    }
}

impl Default for AudioSystem {
    fn default() -> Self {
        Self::new()
    }
}
