Add Automation structs
This commit is contained in:
parent
0ed826cfa9
commit
07d1374c41
1 changed files with 14 additions and 0 deletions
|
@ -40,6 +40,20 @@ func NewWave(sampleCount, sampleRate, sampleSize, channels uint32, data []byte)
|
||||||
return Wave{sampleCount, sampleRate, sampleSize, channels, d}
|
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
|
// CameraMode type
|
||||||
type CameraMode int32
|
type CameraMode int32
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue