v6.3
This commit is contained in:
@@ -4,7 +4,6 @@ import (
|
||||
"fmt"
|
||||
"math"
|
||||
"math/cmplx"
|
||||
"os"
|
||||
|
||||
"github.com/mewkiz/flac"
|
||||
)
|
||||
@@ -194,12 +193,3 @@ func fftRecursive(x []complex128) []complex128 {
|
||||
|
||||
return result
|
||||
}
|
||||
|
||||
// GetFileSize helper
|
||||
func getSpectrumFileSize(filepath string) (int64, error) {
|
||||
info, err := os.Stat(filepath)
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
return info.Size(), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user