Closed finnkuusisto closed 12 years ago
I removed the part of the interface that took an InputStream and switched internal usage to URLs. Another solution would have been to wrap all InputStreams with BufferedInputStreams, but I like this solution as it reduces the interface slightly, specifically a part of the interface that was less likely to be used.
Apparently, if you load an AudioInputStream from an InputStream, that stream must support mark/reset functionality (at least on some systems?). Using a URL would possibly be more reliable. This would require changing to interface, removing the loading functions that take InputStreams.