about summary refs log tree commit diff
path: root/nixos/tests/castopod.nix
diff options
context:
space:
mode:
authorAlexander Tomokhov <alexoundos@gmail.com>2024-05-21 00:26:33 +0400
committerAlexander Tomokhov <alexoundos@gmail.com>2024-05-21 00:29:56 +0400
commit992735db2203b32b2eaf516ca46b353c8dc9d4fa (patch)
tree56e5806481721370caa40f648ec909b140d93509 /nixos/tests/castopod.nix
parentdddad8555c763b4a3ddfba728648a1456995b706 (diff)
nixosTests.castopod: fix mp3 generation
Fix `--cbr` encoding mode.
Diffstat (limited to 'nixos/tests/castopod.nix')
-rw-r--r--nixos/tests/castopod.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/castopod.nix b/nixos/tests/castopod.nix
index 9f167c1543408..57e035354d23e 100644
--- a/nixos/tests/castopod.nix
+++ b/nixos/tests/castopod.nix
@@ -208,7 +208,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
             text = ''
               out=/tmp/podcast.mp3
               sox -n -r 48000 -t wav - synth ${targetPodcastDuration} sine 440 `
-              `| lame --noreplaygain -cbr -q 9 -b 320 - $out
+              `| lame --noreplaygain --cbr -q 9 -b 320 - $out
               FILESIZE="$(stat -c%s $out)"
               [ "$FILESIZE" -gt 0 ]
               [ "$FILESIZE" -le "${toString targetPodcastSize}" ]