summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/webaudio/wave_shaper_processor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/webaudio/wave_shaper_processor.cc')
-rw-r--r--chromium/third_party/blink/renderer/modules/webaudio/wave_shaper_processor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/modules/webaudio/wave_shaper_processor.cc b/chromium/third_party/blink/renderer/modules/webaudio/wave_shaper_processor.cc
index ec42e046c84..6c3e83b8f54 100644
--- a/chromium/third_party/blink/renderer/modules/webaudio/wave_shaper_processor.cc
+++ b/chromium/third_party/blink/renderer/modules/webaudio/wave_shaper_processor.cc
@@ -30,7 +30,7 @@
namespace blink {
WaveShaperProcessor::WaveShaperProcessor(float sample_rate,
- size_t number_of_channels)
+ unsigned number_of_channels)
: AudioDSPKernelProcessor(sample_rate, number_of_channels),
oversample_(kOverSampleNone) {}
@@ -91,7 +91,7 @@ void WaveShaperProcessor::SetOversample(OverSampleType oversample) {
void WaveShaperProcessor::Process(const AudioBus* source,
AudioBus* destination,
- size_t frames_to_process) {
+ uint32_t frames_to_process) {
if (!IsInitialized()) {
destination->Zero();
return;