On Tue, 2009-07-28 at 14:02 +0100, Damon Chaplin wrote:

> Testing  2589: C* ToneStack - Tone stack emulation (caps.so)
> ==9992== Conditional jump or move depends on uninitialised value(s)
> ==9992==    at 0x4129F9F: DSP::ToneStack::start_cycle(float**, int)
> (ToneStack.h:103)
> ==9992==    by 0x414432D: void ToneStack::one_cycle<&(store_func(float*,
> int, float, float))>(int) (ToneStack.cc:80)
> ==9992==    by 0x41443BF: ToneStack::run(int) (ToneStack.h:56)
> 
> >From looking at the source I'd guess that the "model" variable hasn't
> been initialised (in dsp/ToneStack.h:103). That may or not matter.
> Though it's best to initialise it just to avoid the warnings.
> 
> 
> Testing  2587: C* AmpV - Tube amp (caps.so)
> ==9992== 
> ==9992== Conditional jump or move depends on uninitialised value(s)
> ==9992==    at 0x412BA10: void AmpV::one_cycle<&(store_func(float*, int,
> float, float)), 8>(int) (Amp.cc:349)
> ==9992==    by 0x412BF13: AmpV::run(int) (Amp.h:317)
> 
> Maybe "tone" hasn't been initialised here (Amp.cc:349). Again that might
> or might not matter.

I can confirm that initializing the "model" and "tone" variables does
fix the problems in CAPS. Though I'm not sure what they should be
initialized to, so I'll leave that to you!

Damon


_______________________________________________
Linux-audio-dev mailing list
[email protected]
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev

Reply via email to