Commit 31435ff
committed
Fix default resampling quality selection
When the user doesn't explicitly specify the resampling quality using the `-Q`
flag, the quality should be calculated based on Jack's server sampling rate.
This isn't the case, because the `rqual` variable is always set to 16 in
`jack_initialize`. This results in the quality always being 16.
To fix this and make the behavior the same as the `zita-ajbridge` tools, the
redundant `rqual` clamping of the value to the range `[16,96]` should be
removed from `jack_initialize()`, because this is done later in
`jack_initialize_part2()` only AFTER the quality calculation.1 parent 767acf0 commit 31435ff
2 files changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
291 | | - | |
292 | 290 | | |
293 | 291 | | |
294 | 292 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
289 | | - | |
290 | 288 | | |
291 | 289 | | |
292 | 290 | | |
| |||
0 commit comments