Skip to content

Instantly share code, notes, and snippets.

@globau
Created September 13, 2020 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save globau/8e42224c8d9de7d78df673867c078ad8 to your computer and use it in GitHub Desktop.
Save globau/8e42224c8d9de7d78df673867c078ad8 to your computer and use it in GitHub Desktop.
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