From 16f84f6a892a09e7b553d5c595c655d92091a9e4 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Tue, 4 Jul 2017 22:01:06 +0900 Subject: [PATCH] audio/mp3: Use new go-mp3 API --- audio/mp3/decode_notjs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/mp3/decode_notjs.go b/audio/mp3/decode_notjs.go index 3ed3d4c29..bdd92ec1d 100644 --- a/audio/mp3/decode_notjs.go +++ b/audio/mp3/decode_notjs.go @@ -50,7 +50,7 @@ func (s *Stream) Size() int64 { } func Decode(context *audio.Context, src audio.ReadSeekCloser) (*Stream, error) { - d, err := mp3.Decode(src) + d, err := mp3.NewDecoder(src) if err != nil { return nil, err }