projects
/
sonitus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pull all interfaces into a single interface: Filter.
[sonitus.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sonitus
/
data
/
filter
/
SoxResampleFilter.java
diff --git
a/src/main/java/net/pterodactylus/sonitus/data/filter/SoxResampleFilter.java
b/src/main/java/net/pterodactylus/sonitus/data/filter/SoxResampleFilter.java
index
a5061fb
..
2415bbb
100644
(file)
--- a/
src/main/java/net/pterodactylus/sonitus/data/filter/SoxResampleFilter.java
+++ b/
src/main/java/net/pterodactylus/sonitus/data/filter/SoxResampleFilter.java
@@
-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;
}