fixes for 64 bit compilation - see comment
git-svn-id: svn://localhost/ardour2/branches/3.0@5422 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
162c48b843
commit
793372d7d4
|
@ -164,7 +164,8 @@ SplineInterpolation::interpolate (int channel, nframes_t nframes, Sample *input,
|
||||||
// How many input samples we need
|
// How many input samples we need
|
||||||
nframes_t n = ceil (double(nframes) * _speed + phase[channel]);
|
nframes_t n = ceil (double(nframes) * _speed + phase[channel]);
|
||||||
|
|
||||||
printf("======== n: %u nframes: %u input: %u, output: %u\n", n, nframes, uint32_t(input), uint32_t(output));
|
// hans - we run on 64bit systems too .... no casting pointer to a sized integer, please
|
||||||
|
printf("======== n: %u nframes: %u input: %p, output: %p\n", n, nframes, input, output);
|
||||||
|
|
||||||
if (n <= 3) {
|
if (n <= 3) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user