bevy_audio_controller 0.5.0

Bevy plugin for managed audio playback
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub use bevy_audio_controller_derive::AudioChannel;

use crate::{
    audio_files::AudioFiles,
    bounds::ACBounds,
    events::{PlayEvent, SettingsEvent},
};

pub trait AudioChannel {
    fn play_event(id: AudioFiles) -> PlayEvent<Self>
    where
        Self: ACBounds;
    fn settings_event() -> SettingsEvent<Self>
    where
        Self: ACBounds;
}