mirror of
https://github.com/jwetzell/osc-go.git
synced 2026-08-19 05:23:57 +00:00
switch to an OSC library
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"net"
|
||||
|
||||
"github.com/jwetzell/osc-go/pkg/osc"
|
||||
"github.com/chabad360/go-osc/osc"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
@@ -50,7 +50,7 @@ func listen(netAddress string) {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
oscMessage, err := osc.FromBytes(buffer[0:bytesRead])
|
||||
oscMessage, err := osc.NewMessageFromData(buffer[0:bytesRead])
|
||||
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
||||
Reference in New Issue
Block a user