audioconvert: improve resampler

Also emit port info the the merger monitor ports.
Proxy params and buffers to the right monitor ports.
fmtconvert does not always have dsp ports
Increase resampler output buffer sizes so that we can up and downsample.
Fix little off by one in native resampler.
Fix passthrough in speex resampler.
This commit is contained in:
Wim Taymans 2019-04-23 17:34:27 +02:00
parent b7cc9ea102
commit 2912d2506f
7 changed files with 93 additions and 38 deletions

View file

@ -34,6 +34,7 @@ struct resample {
uint32_t i_rate;
uint32_t o_rate;
struct spa_log *log;
double rate;
void (*free) (struct resample *r);
void (*update_rate) (struct resample *r, double rate);