From 992735db2203b32b2eaf516ca46b353c8dc9d4fa Mon Sep 17 00:00:00 2001 From: Alexander Tomokhov Date: Tue, 21 May 2024 00:26:33 +0400 Subject: nixosTests.castopod: fix mp3 generation Fix `--cbr` encoding mode. --- nixos/tests/castopod.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/tests/castopod.nix') 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}" ] -- cgit 1.4.1