On 03/04/13 22:42, Joseph A. Nagy, Jr wrote:
Maintainer cc'd
I am still having issues with Audacity trying to compile in soundtouch
plugins. Is this an issue with the port (there is no config option to
disable this behavior) or is it an upstream issue?
Full error messages follow:
effects/SoundTouchEffect.cpp:209:31: error: cannot initialize a
parameter of type 'const SAMPLETYPE *'
(aka 'const short *') with an lvalue of type 'float *'
mSoundTouch->putSamples(buffer, block);
^~~~~~
/usr/local/include/soundtouch/SoundTouch.h:237:31: note: passing
argument to parameter 'samples' here
const SAMPLETYPE *samples, ///< Pointer to sample buffer.
^
effects/SoundTouchEffect.cpp:215:23: error: no matching member function
for call to 'receiveSamples'
mSoundTouch->receiveSamples(buffer2, outputCount);
~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/soundtouch/FIFOSamplePipe.h:190:18: note: candidate
function not viable: no known conversion from
'float *' to 'SAMPLETYPE *' (aka 'short *') for 1st argument;
virtual uint receiveSamples(SAMPLETYPE *outBuffer, ///< Buffer
where to copy output samples.
^
/usr/local/include/soundtouch/FIFOSamplePipe.h:203:18: note: candidate
function not viable: requires 1 argument, but 2
were provided
virtual uint receiveSamples(uint maxSamples ///< Remove this many
samples from the beginning of pipe.
^
effects/SoundTouchEffect.cpp:234:20: error: no matching member function
for call to 'receiveSamples'
mSoundTouch->receiveSamples(buffer2, outputCount);
~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/soundtouch/FIFOSamplePipe.h:190:18: note: candidate
function not viable: no known conversion from
'float *' to 'SAMPLETYPE *' (aka 'short *') for 1st argument;
virtual uint receiveSamples(SAMPLETYPE *outBuffer, ///< Buffer
where to copy output samples.
^
/usr/local/include/soundtouch/FIFOSamplePipe.h:203:18: note: candidate
function not viable: requires 1 argument, but 2
were provided
virtual uint receiveSamples(uint maxSamples ///< Remove this many
samples from the beginning of pipe.
^
effects/SoundTouchEffect.cpp:307:31: error: cannot initialize a
parameter of type 'const SAMPLETYPE *'
(aka 'const short *') with an lvalue of type 'float *'
mSoundTouch->putSamples(soundTouchBuffer, blockSize);
^~~~~~~~~~~~~~~~
/usr/local/include/soundtouch/SoundTouch.h:237:31: note: passing
argument to parameter 'samples' here
const SAMPLETYPE *samples, ///< Pointer to sample buffer.
^
effects/SoundTouchEffect.cpp:373:17: error: no matching member function
for call to 'receiveSamples'
mSoundTouch->receiveSamples(outputSoundTouchBuffer, outputCount);
~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/soundtouch/FIFOSamplePipe.h:190:18: note: candidate
function not viable: no known conversion from
'float *' to 'SAMPLETYPE *' (aka 'short *') for 1st argument;
virtual uint receiveSamples(SAMPLETYPE *outBuffer, ///< Buffer
where to copy output samples.
^
/usr/local/include/soundtouch/FIFOSamplePipe.h:203:18: note: candidate
function not viable: requires 1 argument, but 2
were provided
virtual uint receiveSamples(uint maxSamples ///< Remove this many
samples from the beginning of pipe.
^
12 warnings and 5 errors generated.
gmake[1]: *** [effects/SoundTouchEffect.o] Error 1
gmake[1]: Leaving directory
`/usr/ports/audio/audacity/work/audacity-src-2.0.3/src'
gmake: *** [audacity] Error 2
*** [do-build] Error code 1
Stop in /usr/ports/audio/audacity.
*** [build] Error code 1
Stop in /usr/ports/audio/audacity.
===>>> make failed for audio/audacity
===>>> Aborting update
Terminated
===>>> You can restart from the point of failure with this command line:
portmaster <flags> audio/audacity
--
Yours in Christ,
Joseph A Nagy Jr
"Whoever loves instruction loves knowledge, But he who hates correction
is stupid." -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL
http://copyfree.org/licenses/owl/license.txt
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"