1#[cfg(not(feature = "sound"))]
2mod no_sound;
3#[cfg(feature = "sound")]
4mod play_sound;
5mod sound_config;
6#[cfg(feature = "sound")]
7mod sound_player;
8mod volume;
9
10#[cfg(not(feature = "sound"))]
11pub use no_sound::*;
12#[cfg(feature = "sound")]
13pub use {
14 play_sound::*,
15 sound_player::*,
16};
17pub use {
18 sound_config::*,
19 volume::*,
20};
21
22#[derive(Debug, Clone, PartialEq, Eq, Hash, Default)]
24pub struct PlaySoundCommand {
25 pub name: Option<String>,
26 pub volume: Volume,
27}