Move RecordData struct to models to avoid circular import

This commit is contained in:
Chigozirim Igweamaka 2024-07-14 15:04:21 +01:00
parent 7086dafc5b
commit 9b10bd2f29

View file

@ -4,3 +4,11 @@ type Couple struct {
AnchorTimeMs uint32
SongID uint32
}
type RecordData struct {
Audio string `json:"audio"`
Duration float64 `json:"duration"`
Channels int `json:"channels"`
SampleRate int `json:"sampleRate"`
SampleSize int `json:"sampleSize"`
}