We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77719a3 commit 6ba80ebCopy full SHA for 6ba80eb
loader.go
@@ -46,6 +46,8 @@ func (l *Loader) Load(src interface{}) (*AudioSegment, error) {
46
return nil, err
47
}
48
buf = result
49
+ case []byte:
50
+ buf = r
51
default:
52
return nil, fmt.Errorf("expected `io.Reader` or file path to original audio")
53
0 commit comments