summaryrefslogtreecommitdiff
path: root/src/flac
diff options
context:
space:
mode:
authorMartijn van Beurden <mvanb1@gmail.com>2021-08-31 08:55:06 +0200
committerMartijn van Beurden <mvanb1@gmail.com>2022-04-26 22:09:05 +0200
commita21bdc4a9e0f94abbe2f0a135d2ec16d5b17f5fb (patch)
tree935e1283a0f64c42b7ea4ecc2ca0b6b12ebfbbc7 /src/flac
parentf59cb6f7b4aa5b28de0a00400080f285ffb9f3b2 (diff)
downloadflac-a21bdc4a9e0f94abbe2f0a135d2ec16d5b17f5fb.tar.gz
Documentation fixes: preset description and subset blocksizes
As described in github issue #236, the description of compression presets in flac.sgml wasn't updated. Also, the description of which blocksizes are considered subset has been lagging behind in the manpages as well as the build-in help of FLAC for years, as this was changed back in 2007. This commit fixes those issues
Diffstat (limited to 'src/flac')
-rw-r--r--src/flac/main.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/flac/main.c b/src/flac/main.c
index 067e2822..2946168f 100644
--- a/src/flac/main.c
+++ b/src/flac/main.c
@@ -1569,14 +1569,16 @@ void show_explain(void)
printf(" block of 8192 bytes by default, or 65536 bytes\n");
printf(" if the input audio is more than 20 minutes long.\n");
printf(" -b, --blocksize=# Specify the blocksize in samples; the default is\n");
- printf(" 1152 for -l 0, else 4096; must be one of 192,\n");
- printf(" 576, 1152, 2304, 4608, 256, 512, 1024, 2048,\n");
- printf(" 4096 (and 8192 or 16384 if the sample rate is\n");
- printf(" >48kHz) for Subset streams.\n");
+ printf(" 1152 for -l 0, else 4096; for subset streams this\n");
+ printf(" must be <= 4608 if the samplerate <= 48kHz,\n");
+ printf(" for subset streams with a higher samplerates it\n");
+ printf(" must be <= 16384.\n");
printf(" -0, --compression-level-0, --fast Synonymous with -l 0 -b 1152 -r 3\n");
+ printf(" --no-mid-side\n");
printf(" -1, --compression-level-1 Synonymous with -l 0 -b 1152 -M -r 3\n");
printf(" -2, --compression-level-2 Synonymous with -l 0 -b 1152 -m -r 3\n");
printf(" -3, --compression-level-3 Synonymous with -l 6 -b 4096 -r 4\n");
+ printf(" --no-mid-side\n");
printf(" -4, --compression-level-4 Synonymous with -l 8 -b 4096 -M -r 4\n");
printf(" -5, --compression-level-5 Synonymous with -l 8 -b 4096 -m -r 5\n");
printf(" -5 is the default setting\n");