X-Git-Url: https://git.pterodactylus.net/?p=sonitus.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsonitus%2Fdata%2FFilter.java;h=924ccee678fdeda36bc30ee123b2978919a9ef15;hp=2b27e9f78ec6098c175aab26c196eeb179281ebd;hb=eacf380129e247dd03f7d054d67e34cb43658959;hpb=6eb367d5696f1cb793af06509cabc4254a6141db 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(); /**