mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-19 09:54:22 +00:00
Move RecordData struct to models to avoid circular import
This commit is contained in:
parent
7086dafc5b
commit
9b10bd2f29
1 changed files with 8 additions and 0 deletions
|
|
@ -4,3 +4,11 @@ type Couple struct {
|
||||||
AnchorTimeMs uint32
|
AnchorTimeMs uint32
|
||||||
SongID 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"`
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue