Unified · Split
| @@ -271,7 +271,6 @@ static int config_input(AVFilterLink *inlink) · 270 unmodified lines | |||
| 271 | 271 | ||
| 272 | //swap a1 b1, a2 b2 | 272 | //swap a1 b1, a2 b2 |
| 273 | if (s->type == 7 || s->type == 8) { | 273 | if (s->type == 7 || s->type == 8) { |
| 274 | s->rc[0].use_brickw = 0; | ||
| 275 | double tau = (s->type == 7 ? 0.000050 : 0.000075); | 274 | double tau = (s->type == 7 ? 0.000050 : 0.000075); |
| 276 | double f = 1.0 / (2 * M_PI * tau); | 275 | double f = 1.0 / (2 * M_PI * tau); |
| 277 | double nyq = sr * 0.5; | 276 | double nyq = sr * 0.5; |
| @@ -287,6 +286,7 @@ static int config_input(AVFilterLink *inlink) · 9 unmodified lines | |||
| 287 | set_highshelf_rbj(&s->rc[0].r1, cfreq, q, 1. / gain, sr); | 286 | set_highshelf_rbj(&s->rc[0].r1, cfreq, q, 1. / gain, sr); |
| 288 | else | 287 | else |
| 289 | set_highshelf_rbj(&s->rc[0].r1, cfreq, q, gain, sr); | 288 | set_highshelf_rbj(&s->rc[0].r1, cfreq, q, gain, sr); |
| 289 | s->rc[0].use_brickw = 0; | ||
| 290 | } else { | 290 | } else { |
| 291 | s->rc[0].use_brickw = 1; | 291 | s->rc[0].use_brickw = 1; |
| 292 | if (s->mode == 0) { // Reproduction | 292 | if (s->mode == 0) { // Reproduction |