Ignore the given metadata when opening.
[sonitus.git] / src / main / java / net / pterodactylus / sonitus / data / source / StreamSource.java
index 2efc66d..34a952c 100644 (file)
@@ -151,6 +151,11 @@ public class StreamSource extends AbstractFilter {
        }
 
        @Override
+       public void open(Metadata metadata) throws IOException {
+               /* ignore metadata when opening. */
+       }
+
+       @Override
        public DataPacket get(int bufferSize) throws IOException {
                byte[] buffer = new byte[bufferSize];
                metadataStream.read(buffer);