You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to load file to memorystream then play it, but I get error:
Got a frame at sample rate 32000, in an MP3 with sample rate 12000. Mp3FileReader does not support sample rate changes.'
on the line: var mp = new Mp3FileReader(ms);
this is my code
byte[] bytes = File.ReadAllBytes(testFile);
var ms = new MemoryStream(bytes, 0, bytes.Length, false, true);
var mp = new Mp3FileReader(ms);
The text was updated successfully, but these errors were encountered:
I am trying to load file to memorystream then play it, but I get error:
Got a frame at sample rate 32000, in an MP3 with sample rate 12000. Mp3FileReader does not support sample rate changes.'
on the line: var mp = new Mp3FileReader(ms);
this is my code
byte[] bytes = File.ReadAllBytes(testFile);
var ms = new MemoryStream(bytes, 0, bytes.Length, false, true);
var mp = new Mp3FileReader(ms);
The text was updated successfully, but these errors were encountered: