mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2024-11-15 17:40:51 +00:00
fix docstrings
This commit is contained in:
parent
8038670203
commit
418d04a08e
@ -20,7 +20,7 @@ func newObserver(vm *voicemeeter.Remote) *observer {
|
|||||||
return &observer{vm, make(chan string)}
|
return &observer{vm, make(chan string)}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Listen registers the observer channel and listens for udpates.
|
// Listen registers the observer channel and listens for updates.
|
||||||
func (o observer) Listen() {
|
func (o observer) Listen() {
|
||||||
o.vm.Register(o.events)
|
o.vm.Register(o.events)
|
||||||
|
|
||||||
@ -53,8 +53,7 @@ func runObserver(vm *voicemeeter.Remote) {
|
|||||||
go o.Listen()
|
go o.Listen()
|
||||||
}
|
}
|
||||||
|
|
||||||
// main connects to Voiceemeter, registers observer for updates
|
// main connects to Voiceemeter and runs a single observer for 30 seconds.
|
||||||
// runs updates for 30 seconds and then deregisters observer.
|
|
||||||
func main() {
|
func main() {
|
||||||
vm, err := vmConnect()
|
vm, err := vmConnect()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user