Add self-contained SoundBanks and MusicBanks with per-sample PCM16 and IMA ADPCM storage, materialized to resident PCM16. Integrate instrument envelopes, automation, shared DSP and host lifecycle controls while preserving staged real-time execution.
35 lines
1005 B
Rust
35 lines
1005 B
Rust
mod asset;
|
|
mod audio;
|
|
mod frame_composer;
|
|
mod gfx;
|
|
pub mod hardware;
|
|
mod local_render_backend;
|
|
mod memory_banks;
|
|
#[cfg(test)]
|
|
mod native_graphics_tests;
|
|
mod pad;
|
|
mod test_platform;
|
|
mod touch;
|
|
mod wall_clock;
|
|
|
|
pub use crate::asset::AssetManager;
|
|
pub use crate::audio::bank_format;
|
|
pub use crate::audio::{
|
|
Audio, AudioCommand, AudioDelivery, AudioTransport, Channel, MAX_CHANNELS,
|
|
MAX_COMMANDS_PER_FRAME, OUTPUT_SAMPLE_RATE,
|
|
};
|
|
pub use crate::frame_composer::{ComposerBuffer, FrameComposer, SceneStatus, SpriteController};
|
|
pub use crate::gfx::Gfx;
|
|
pub use crate::local_render_backend::LocalFramebufferRenderBackend;
|
|
pub use crate::memory_banks::{
|
|
GlyphBankPoolAccess, GlyphBankPoolInstaller, MemoryBanks, SceneBankPoolAccess,
|
|
SceneBankPoolInstaller, SoundBankPoolAccess, SoundBankPoolInstaller,
|
|
};
|
|
pub use crate::pad::Pad;
|
|
pub use crate::test_platform::TestPlatform;
|
|
pub use crate::wall_clock::ControlledWallClock;
|
|
|
|
pub mod memcard;
|
|
|
|
pub use crate::audio::{SFX_CHANNELS, SFX_START, engine};
|