fixed point resampling option

This commit is contained in:
philippe44
2019-06-26 21:31:50 -07:00
parent 375a5aec2a
commit a75f1f0cd5
11 changed files with 272 additions and 11 deletions

View File

@@ -323,8 +323,8 @@ bool resample_init(char *opt) {
r->scale = pow(10, -1.0 / 20);
// override recipe derived values with user specified values
r->q_precision = 0;
r->q_passband_end = 0;
r->q_stopband_begin = 0;
r->q_passband_end = 0.75;
r->q_stopband_begin = 1.25;
if (recipe && recipe[0] != '\0') {
if (strchr(recipe, 'v')) r->q_recipe = SOXR_VHQ;