Skip to content

Commit

Permalink
Using new API for go-mp3
Browse files Browse the repository at this point in the history
  • Loading branch information
200sc committed Nov 18, 2017
1 parent 05829e0 commit ae39121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mp3/mp3.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

// Load loads an mp3-encoded reader into an audio
func Load(r io.ReadCloser) (audio.Audio, error) {
d, err := haj.Decode(r)
d, err := haj.NewDecoder(r)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit ae39121

Please sign in to comment.