15 lines
237 B
Go
15 lines
237 B
Go
package inputs
|
|
|
|
import ()
|
|
|
|
var SoundInputs = map[string]SoundInput{}
|
|
|
|
type SoundInput interface {
|
|
GetName() string
|
|
IsActive() bool
|
|
CurrentlyPlaying() map[string]string
|
|
}
|
|
|
|
type ControlableInput interface {
|
|
TogglePause(string) error
|
|
}
|