mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2026-03-22 11:52:48 +01:00
add SoundPatch
This commit is contained in:
@@ -198,7 +198,7 @@ func (self *TitleBar) SyncSoundVolume() {
|
||||
|
||||
vol, err := volume.GetVolume()
|
||||
if err != nil {
|
||||
log.Fatalf("TitleBar SyncSoundVolume get volume failed: %+v", err)
|
||||
log.Printf("TitleBar SyncSoundVolume get volume failed: %+v\n", err)
|
||||
vol = 0
|
||||
}
|
||||
fmt.Printf("TitleBar SyncSoundVolume current volume: %d\n", vol)
|
||||
|
||||
Reference in New Issue
Block a user