X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=inline;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsonitus%2Fdata%2FFilter.java;h=924ccee678fdeda36bc30ee123b2978919a9ef15;hb=a0057669de4cb82f613d0a2a765f145279cf2233;hp=2b27e9f78ec6098c175aab26c196eeb179281ebd;hpb=3a12209e82233cd79677a0d847321f41b41aa9a5;p=sonitus.git diff --git a/src/main/java/net/pterodactylus/sonitus/data/Filter.java b/src/main/java/net/pterodactylus/sonitus/data/Filter.java index 2b27e9f..924ccee 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/Filter.java +++ b/src/main/java/net/pterodactylus/sonitus/data/Filter.java @@ -66,7 +66,7 @@ public interface Filter { Metadata metadata(); /** - * Notifies the sink that the metadata of the audio stream has changed. This + * Notifies the filter 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. * @@ -91,7 +91,7 @@ public interface Filter { DataPacket get(int bufferSize) throws IOException; /** - * Opens this sink using the format parameters of the given metadata. + * Opens this filter using the format parameters of the given metadata. * * @param metadata * The metadata of the stream @@ -100,7 +100,7 @@ public interface Filter { */ void open(Metadata metadata) throws IOException; - /** Closes this sink. */ + /** Closes this filter. */ void close(); /**