remove OSC prefix from types

This commit is contained in:
Joel Wetzell
2026-09-10 08:30:59 -05:00
parent 303a782a74
commit 3f656a2349
10 changed files with 165 additions and 165 deletions
+10 -10
View File
@@ -1,32 +1,32 @@
package osc
type OSCPacket interface {
type Packet interface {
ToBytes() ([]byte, error)
}
type OSCBundle struct {
Contents []OSCPacket `json:"contents"`
TimeTag OSCTimeTag `json:"timeTag"`
type Bundle struct {
Contents []Packet `json:"contents"`
TimeTag TimeTag `json:"timeTag"`
}
type OSCArg struct {
type Arg struct {
Value any `json:"value"`
Type string `json:"type"`
}
type OSCMessage struct {
Address string `json:"address"`
Args []OSCArg `json:"args"`
type Message struct {
Address string `json:"address"`
Args []Arg `json:"args"`
}
type OSCColor struct {
type Color struct {
r uint8
g uint8
b uint8
a uint8
}
type OSCTimeTag struct {
type TimeTag struct {
seconds int32
fractionalSeconds int32
}