audionimbus 0.13.0

A safe wrapper around Steam Audio that provides spatial audio capabilities with realistic occlusion, reverb, and HRTF effects, accounting for physical attributes and scene geometry.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/// Errors that can occur during baking operations.
#[derive(Debug, PartialEq, Eq)]
pub enum BakeError {
    /// Another bake operation is already in progress.
    BakeInProgress,
}

impl std::error::Error for BakeError {}

impl std::fmt::Display for BakeError {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match self {
            Self::BakeInProgress => {
                write!(f, "another bake operation is already in progress")
            }
        }
    }
}