mirror of
https://github.com/jwetzell/osc-go.git
synced 2026-09-11 08:19:27 +00:00
add timetag arg constructor
This commit is contained in:
@@ -39,3 +39,7 @@ func Int64Arg(value int64) Arg {
|
|||||||
func DoubleArg(value float64) Arg {
|
func DoubleArg(value float64) Arg {
|
||||||
return Arg{Type: "d", Value: value}
|
return Arg{Type: "d", Value: value}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TimeTagArg(seconds, fractional int32) Arg {
|
||||||
|
return Arg{Type: "t", Value: TimeTag{seconds: seconds, fractionalSeconds: fractional}}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user