Adding template for coordiantes.

This commit is contained in:
Igor Karatayev 2024-02-27 21:11:26 +03:00
parent f840c9ccd5
commit 713c31856c
2 changed files with 6 additions and 2 deletions

View file

@ -20,6 +20,10 @@ func init() {
runtime.LockOSThread()
}
type CoordinateT interface {
int | int32 | int64 | float32 | float64
}
// Wave type, defines audio wave data
type Wave struct {
// Number of samples