Support Pulseaudio sink-inputs

This commit is contained in:
nemunaire 2023-11-13 20:00:28 +01:00
commit bbde2299fe
8 changed files with 145 additions and 10 deletions

View file

@ -7,9 +7,9 @@ var SoundInputs = map[string]SoundInput{}
type SoundInput interface {
GetName() string
IsActive() bool
CurrentlyPlaying() *string
CurrentlyPlaying() map[string]string
}
type ControlableInput interface {
TogglePause() error
TogglePause(string) error
}