FreeBSD Bugzilla – Attachment 142221 Details for
Bug 189217
www/firefox does not compile if audio/soundtouch is built with INTEGER_SAMPLES
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.46 KB, created by
lenzi.sergio
on 2014-05-02 02:40:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
lenzi.sergio
Created:
2014-05-02 02:40:00 UTC
Size:
1.46 KB
patch
obsolete
>--- content/media/AudioStream.cpp.orig 2014-04-22 02:27:39.000000000 -0300 >+++ content/media/AudioStream.cpp 2014-05-01 22:05:42.521305612 -0300 >@@ -698,7 +697,7 @@ > // other than 1.0. > uint32_t flushedFrames = 0; > if (mTimeStretcher && mTimeStretcher->numSamples()) { >- flushedFrames = mTimeStretcher->receiveSamples(reinterpret_cast<AudioDataValue*>(wpos), aFrames); >+ flushedFrames = mTimeStretcher->receiveSamples((soundtouch::SAMPLETYPE*)reinterpret_cast<AudioDataValue*>(wpos), aFrames); > wpos += FramesToBytes(flushedFrames); > } > uint32_t toPopBytes = FramesToBytes(aFrames - flushedFrames); >@@ -772,10 +771,10 @@ > &input[1], &input_size[1]); > mReadPoint += BytesToFrames(available); > for(uint32_t i = 0; i < 2; i++) { >- mTimeStretcher->putSamples(reinterpret_cast<AudioDataValue*>(input[i]), BytesToFrames(input_size[i])); >+ mTimeStretcher->putSamples((soundtouch::SAMPLETYPE*)reinterpret_cast<AudioDataValue*>(input[i]), BytesToFrames(input_size[i])); > } > } >- uint32_t receivedFrames = mTimeStretcher->receiveSamples(reinterpret_cast<AudioDataValue*>(wpos), aFrames - processedFrames); >+ uint32_t receivedFrames = mTimeStretcher->receiveSamples((soundtouch::SAMPLETYPE*)reinterpret_cast<AudioDataValue*>(wpos), aFrames - processedFrames); > wpos += FramesToBytes(receivedFrames); > processedFrames += receivedFrames; > } while (processedFrames < aFrames && !lowOnBufferedData);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 189217
: 142221