Support Pulseaudio sink-inputs
This commit is contained in:
parent
a9c6cdcd0f
commit
bbde2299fe
8 changed files with 145 additions and 10 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue