Commit b8b7eb6d authored by Thomas Guillem's avatar Thomas Guillem

channel_mixer: remap: parse config_chain

parent 859ff5c4
......@@ -278,6 +278,13 @@ static int OpenFilter( vlc_object_t *p_this )
if( unlikely( p_sys == NULL ) )
return VLC_ENOMEM;
static const char *const options[] = {
"channel-left", "channel-center", "channel-right", "channel-rearleft",
"channel-rearcenter", "channel-rearright", "channel-middleleft",
"channel-middleright", "channel-lfe", "normalize",
};
config_ChainParse(p_filter, REMAP_CFG, options, p_filter->p_cfg);
/* get number of and layout of input channels */
uint32_t i_output_physical = 0;
int8_t pi_map_ch[ AOUT_CHAN_MAX ] = { 0 }; /* which out channel each in channel is mapped to */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment