default volume to 50%

This commit is contained in:
Federico Fossemò 2017-12-03 18:06:24 +01:00 committed by GitHub
parent 8971d3aa68
commit 20fc764916
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,7 +142,7 @@ impl Spirc {
let (cmd_tx, cmd_rx) = mpsc::unbounded(); let (cmd_tx, cmd_rx) = mpsc::unbounded();
let volume = 0xFFFF; let volume = 0x8000;
let device = initial_device_state(config, volume); let device = initial_device_state(config, volume);
mixer.set_volume(volume); mixer.set_volume(volume);