This commit is contained in:
Max Bradbury 2020-11-01 16:55:06 +00:00
parent fb374f6a1f
commit 6f14678c1d
2 changed files with 3 additions and 1 deletions

View File

@ -11,3 +11,4 @@ crate_type = "bin"
dirs = "^3.0.1"
iced = "^0.1.1"
rodio = "^0.11.0"
env_logger = "^0.8.1"

View File

@ -14,6 +14,7 @@ struct Sound {
name: String,
path: String, // bytes instead?
sink: Sink,
volume: f32,
}
/// todo: maybe add a play/pause state or global volume? saved presets?
@ -31,7 +32,7 @@ impl Application for Lull {
type Message = Message;
type Flags = ();
fn new(flags: Self::Flags) -> (Self, Command) {
fn new(_flags: Self::Flags) -> (Self, Command) {
(
Lull {sounds: Vec::new()},
Command::none(),