wip
This commit is contained in:
parent
fb374f6a1f
commit
6f14678c1d
|
@ -11,3 +11,4 @@ crate_type = "bin"
|
||||||
dirs = "^3.0.1"
|
dirs = "^3.0.1"
|
||||||
iced = "^0.1.1"
|
iced = "^0.1.1"
|
||||||
rodio = "^0.11.0"
|
rodio = "^0.11.0"
|
||||||
|
env_logger = "^0.8.1"
|
||||||
|
|
|
@ -14,6 +14,7 @@ struct Sound {
|
||||||
name: String,
|
name: String,
|
||||||
path: String, // bytes instead?
|
path: String, // bytes instead?
|
||||||
sink: Sink,
|
sink: Sink,
|
||||||
|
volume: f32,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// todo: maybe add a play/pause state or global volume? saved presets?
|
/// todo: maybe add a play/pause state or global volume? saved presets?
|
||||||
|
@ -31,7 +32,7 @@ impl Application for Lull {
|
||||||
type Message = Message;
|
type Message = Message;
|
||||||
type Flags = ();
|
type Flags = ();
|
||||||
|
|
||||||
fn new(flags: Self::Flags) -> (Self, Command) {
|
fn new(_flags: Self::Flags) -> (Self, Command) {
|
||||||
(
|
(
|
||||||
Lull {sounds: Vec::new()},
|
Lull {sounds: Vec::new()},
|
||||||
Command::none(),
|
Command::none(),
|
||||||
|
|
Loading…
Reference in New Issue