Move event and metadata handling into abstract base class.
[sonitus.git] / src / main / java / net / pterodactylus / sonitus / data / filter / SoxResampleFilter.java
index a5061fb..2415bbb 100644 (file)
@@ -46,9 +46,9 @@ public class SoxResampleFilter extends ExternalFilter {
         * @param binary
         *              The location of the binary
         * @param rate
-        *              The new sampling rate
         */
        public SoxResampleFilter(String binary, int rate) {
+               super(String.format("Resample to %s kHz", rate / 1000.0));
                this.binary = binary;
                this.rate = rate;
        }