Move event and metadata handling into abstract base class.
[sonitus.git] / src / main / java / net / pterodactylus / sonitus / data / Sink.java
index cacfdb7..937a4e5 100644 (file)
@@ -33,14 +33,4 @@ public interface Sink extends ControlledComponent {
         */
        void process(byte[] buffer) throws IOException;
 
-       /**
-        * Notifies the sink that the metadata of the audio stream has changed. This
-        * method should return as fast as possible, i.e. every heavy lifting should be
-        * done from another thread.
-        *
-        * @param metadata
-        *              The new metadata
-        */
-       void metadataUpdated(Metadata metadata);
-
 }