diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2020-10-17 01:10:04 +0200 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2020-10-17 01:10:04 +0200 |
| commit | c614c117dc9fb40fe6565321dceb0c758766fef7 (patch) | |
| tree | 2107ec186d80b3d8a2160db9608918eefc757e93 /mumd/src/state.rs | |
| parent | e2f5c15e17d0ddcde88830194410c387793c045f (diff) | |
| download | mum-c614c117dc9fb40fe6565321dceb0c758766fef7.tar.gz | |
Set input volume via mumctl
Diffstat (limited to 'mumd/src/state.rs')
| -rw-r--r-- | mumd/src/state.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mumd/src/state.rs b/mumd/src/state.rs index 82d671e..b50c34c 100644 --- a/mumd/src/state.rs +++ b/mumd/src/state.rs @@ -137,6 +137,10 @@ impl State { .unwrap(); (false, Ok(None)) } + Command::InputVolumeSet(volume) => { + self.audio.set_input_volume(volume); + (false, Ok(None)) + } } } |
