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 assume you wrap the byte array into a ByteArrayInputStream?
Decoding from arbitrary streams is currently not supported.
Try dumping the byte array to a file with the extension .mp3 and then open that using AudioSystem.
I need to play a MP3 that comes from a byte[].
I got an error when I tryed that:
javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input stream
The text was updated successfully, but these errors were encountered: