1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
use crate::error::GameResult; pub struct Audio {} impl Audio { pub(crate) fn new(_: AudioConfig) -> GameResult<Self> { Ok(Self {}) } pub(crate) fn suspend(&mut self) {} pub(crate) fn resume(&mut self) {} } #[derive(Debug, Clone)] pub struct AudioConfig {} impl AudioConfig { pub fn new() -> Self { Self {} } }