[ardour-dev] problems with SSE code for x86_64
John Rigg
ardev at sound-man.co.uk
Mon Feb 6 11:35:57 PST 2006
On Mon, Feb 06, 2006 at 08:43:05AM -0500, Paul Davis wrote:
> (not the asm itself, but the context in which its used)
>
> libs/ardour/mix.cc: In function 'float debug_compute_peak
> (ARDOUR::Sample*, jack_nframes_t, float)':
> libs/ardour/mix.cc:33: error: cast from 'ARDOUR::Sample*' to 'int' loses
> precision
Changing int to long int fixes this on x86_64 and should still work on
x86 (int is 32 bits on x86_64, long int is 64 bits; on x86 they're both 32).
That's why I did that in my patch ;-)
John
More information about the Ardour-Dev
mailing list