Add Automation structs

This commit is contained in:
Milan Nikolic 2023-11-09 12:07:41 +01:00
parent 0ed826cfa9
commit 07d1374c41
No known key found for this signature in database
GPG key ID: 9229D0EAA3AA4E75

View file

@ -40,6 +40,20 @@ func NewWave(sampleCount, sampleRate, sampleSize, channels uint32, data []byte)
return Wave{sampleCount, sampleRate, sampleSize, channels, d}
}
// AutomationEvent - Automation event
type AutomationEvent struct {
Frame uint32
Type uint32
Params [4]int32
}
// AutomationEventList - Automation event list
type AutomationEventList struct {
Capacity uint32
Count uint32
Events *AutomationEvent
}
// CameraMode type
type CameraMode int32