[vlc-devel] [vlc-commits] audio_filter: only one module for all simple channel mixers

Rémi Denis-Courmont remi at remlab.net
Thu Aug 27 16:00:36 CEST 2015


On Thursday 27 August 2015 15:50:32 Thomas Guillem wrote:
> On Thu, Aug 27, 2015, at 15:07, Rémi Denis-Courmont wrote:
> > Le 2015-08-27 16:01, git at videolan.org a écrit :
> > > vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Aug 27
> > > 14:52:28 2015 +0200| [147717df85c312ac559181fc0943839a3a3bf19c] |
> > > committer: Thomas Guillem
> > > 
> > > audio_filter: only one module for all simple channel mixers
> > 
> > What is the benefit here? It seems like it just makes the
> > platform-agnostic plugin needlessly complicated and ugly.
> 
> The init code in the neon module was wrong and was not updated like
> channel_mixer/simple.c was,

So fix it?

> Since these 2 modules should have the
> same initialization code, I decided to use only one module.

I still fail to see the point.

> There was an other solution: the neon channel mixer being a submodule of the
> simple channel mixer but it is as complicated as my solution.

Both are much more complicated than keeping separate modules like we almost 
always do. Not to mention what happens if someone wants to add a third 
platform there...

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list