Rename dummy filter to basic filter.
[sonitus.git] / src / main / java / net / pterodactylus / sonitus / data / Sink.java
index c238fef..937a4e5 100644 (file)
@@ -8,7 +8,7 @@ import java.io.IOException;
  *
  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
-public interface Sink extends Controlled {
+public interface Sink extends ControlledComponent {
 
        /**
         * Opens this sink using the format parameters of the given metadata.
@@ -33,14 +33,4 @@ public interface Sink extends Controlled {
         */
        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);
-
 }