feat: use ffmpeg as stream backend and oto for sound output, GUI improvements #1
1 changed files with 4 additions and 0 deletions
4
main.go
4
main.go
|
@ -341,11 +341,15 @@ func main() {
|
|||
volumeUp := widget.NewButtonWithIcon("", theme.VolumeUpIcon(), func() {
|
||||
streamPlayer.IncVolume()
|
||||
})
|
||||
volumeMute := widget.NewButtonWithIcon("", theme.VolumeMuteIcon(), func() {
|
||||
streamPlayer.Mute()
|
||||
})
|
||||
controlContainer := container.NewHBox(
|
||||
nowPlayingLabelHeader,
|
||||
layout.NewSpacer(),
|
||||
volumeDown,
|
||||
volumeUp,
|
||||
volumeMute,
|
||||
)
|
||||
|
||||
nowPlayingLabel.Alignment = fyne.TextAlignCenter
|
||||
|
|
Loading…
Reference in a new issue