| Index: Source/modules/webaudio/WaveShaperProcessor.cpp
|
| diff --git a/Source/modules/webaudio/WaveShaperProcessor.cpp b/Source/modules/webaudio/WaveShaperProcessor.cpp
|
| index f4b5efa728f0bab4f4312c95b3304e0758d975bb..2f5c1e63410d9a0d779889d0615212689d74bbbd 100644
|
| --- a/Source/modules/webaudio/WaveShaperProcessor.cpp
|
| +++ b/Source/modules/webaudio/WaveShaperProcessor.cpp
|
| @@ -53,7 +53,7 @@ void WaveShaperProcessor::setCurve(Float32Array* curve)
|
| {
|
| // This synchronizes with process().
|
| MutexLocker processLocker(m_processLock);
|
| -
|
| +
|
| m_curve = curve;
|
| }
|
|
|
| @@ -86,7 +86,7 @@ void WaveShaperProcessor::process(const AudioBus* source, AudioBus* destination,
|
|
|
| // The audio thread can't block on this lock, so we call tryLock() instead.
|
| MutexTryLocker tryLocker(m_processLock);
|
| - if (tryLocker.locked()) {
|
| + if (tryLocker.locked()) {
|
| // For each channel of our input, process using the corresponding WaveShaperDSPKernel into the output channel.
|
| for (unsigned i = 0; i < m_kernels.size(); ++i)
|
| m_kernels[i]->process(source->channel(i)->data(), destination->channel(i)->mutableData(), framesToProcess);
|
|
|