[vlc-devel] [vlc-commits] Spatializer: init variables correctly
Rémi Denis-Courmont
remi at remlab.net
Wed Mar 28 08:36:45 CEST 2012
On Wed, 28 Mar 2012 01:35:15 +0200 (CEST), git at videolan.org (Jean-Baptiste
Kempf) wrote:
> #include "revmodel.hpp"
> +#include "tuning.h"
> #include <stdlib.h>
>
> -revmodel::revmodel()
> +revmodel::revmodel() : wet(initialwet), width(1.), mode(0.),
> roomsize(initialroom),
> + damp(initialdamp), dry(initialdry)
If it were that easy I wouldn't have filed a bug.
Unfortunately the setters don't just do x = value. This patch looks wrong
to me.
--
Rémi Denis-Courmont
Sent from my collocated server
More information about the vlc-devel
mailing list