mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'songtronix/adjust-audio-on-startup' into 'master'
Adjust volume on startup Closes #182 See merge request veloren/veloren!318
This commit is contained in:
commit
d9ab3ef76c
@ -284,7 +284,7 @@ impl MonoEmitter {
|
||||
let device = AudioDevice::new(settings);
|
||||
|
||||
let sink = Sink::new(&device.device);
|
||||
sink.set_volume(settings.master_volume);
|
||||
sink.set_volume(settings.music_volume);
|
||||
|
||||
Self {
|
||||
device,
|
||||
|
Loading…
Reference in New Issue
Block a user