int in_sample_rate;
int out_sample_rate;
int flags;
- float slev, clev;
+ float slev, clev, rematrix_volume;
+ const int *channel_map; ///< channel index (or -1 if muted channel) map
+ int used_ch_count; ///< number of used channels (mapped channel count if channel_map, otherwise in.ch_count)
//below are private
int int_bps;
struct AVResampleContext *resample;
float matrix[SWR_CH_MAX][SWR_CH_MAX];
- int16_t matrix16[SWR_CH_MAX][SWR_CH_MAX];
+ int32_t matrix32[SWR_CH_MAX][SWR_CH_MAX];
uint8_t matrix_ch[SWR_CH_MAX][SWR_CH_MAX+1];
//TODO callbacks for asm optims