Created
September 13, 2020 13:13
-
-
Save globau/8e42224c8d9de7d78df673867c078ad8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/gulp/sounds.js b/gulp/sounds.js | |
index c38e7a6..c1459ef 100644 | |
--- a/gulp/sounds.js | |
+++ b/gulp/sounds.js | |
@@ -46,20 +46,14 @@ function gulptasksSounds($, gulp, buildFolder) { | |
.src([path.join(soundsDir, "music", "**", "*.wav"), path.join(soundsDir, "music", "**", "*.mp3")]) | |
.pipe($.plumber()) | |
.pipe( | |
- $.cache( | |
- $.fluentFfmpeg("mp3", function (cmd) { | |
- return cmd | |
- .audioBitrate(256) | |
- .audioChannels(2) | |
- .audioFrequency(44100) | |
- .audioCodec("libmp3lame") | |
- .audioFilters(["volume=0.15"]); | |
- }), | |
- { | |
- name: "music-high-quality", | |
- fileCache, | |
- } | |
- ) | |
+ $.fluentFfmpeg("mp3", function (cmd) { | |
+ return cmd | |
+ .audioBitrate(256) | |
+ .audioChannels(2) | |
+ .audioFrequency(44100) | |
+ .audioCodec("libmp3lame") | |
+ .audioFilters(["volume=0.15"]); | |
+ }) | |
) | |
.pipe(gulp.dest(path.join(builtSoundsDir, "music"))); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment