Home
last modified time | relevance | path

Searched refs:sourceBus (Results 1 – 5 of 5) sorted by relevance

/external/webkit/Source/WebCore/platform/audio/
DAudioBus.cpp195 void AudioBus::copyFrom(const AudioBus& sourceBus) in copyFrom() argument
197 if (&sourceBus == this) in copyFrom()
200 if (numberOfChannels() == sourceBus.numberOfChannels()) { in copyFrom()
202 channel(i)->copyFrom(sourceBus.channel(i)); in copyFrom()
203 } else if (numberOfChannels() == 2 && sourceBus.numberOfChannels() == 1) { in copyFrom()
206 const AudioChannel* sourceChannel = sourceBus.channel(0); in copyFrom()
215 void AudioBus::sumFrom(const AudioBus &sourceBus) in sumFrom() argument
217 if (numberOfChannels() == sourceBus.numberOfChannels()) { in sumFrom()
219 channel(i)->sumFrom(sourceBus.channel(i)); in sumFrom()
220 } else if (numberOfChannels() == 2 && sourceBus.numberOfChannels() == 1) { in sumFrom()
[all …]
DAudioBus.h86 bool topologyMatches(const AudioBus &sourceBus) const;
97 …static PassOwnPtr<AudioBus> createBySampleRateConverting(AudioBus* sourceBus, bool mixToMono, doub…
102 static PassOwnPtr<AudioBus> createByMixingToMono(AudioBus* sourceBus);
114 void copyFrom(const AudioBus &sourceBus);
118 void sumFrom(const AudioBus &sourceBus);
124 void copyWithGainFrom(const AudioBus &sourceBus, double* lastMixGain, double targetGain);
125 void sumWithGainFrom(const AudioBus &sourceBus, double* lastMixGain, double targetGain);
138 …void processWithGainFrom(const AudioBus &sourceBus, double* lastMixGain, double targetGain, bool s…
139 …void processWithGainFromMonoStereo(const AudioBus &sourceBus, double* lastMixGain, double targetGa…
DReverb.cpp127 void Reverb::process(AudioBus* sourceBus, AudioBus* destinationBus, size_t framesToProcess) in process() argument
131 …bool isSafeToProcess = sourceBus && destinationBus && sourceBus->numberOfChannels() > 0 && destina… in process()
132 …&& framesToProcess <= MaxFrameSize && framesToProcess <= sourceBus->length() && framesToProcess <=… in process()
145 AudioChannel* sourceChannelL = sourceBus->channel(0); in process()
148 size_t numInputChannels = sourceBus->numberOfChannels(); in process()
154 AudioChannel* sourceChannelR = sourceBus->channel(1); in process()
180 AudioChannel* sourceChannelR = sourceBus->channel(1); in process()
DReverb.h48 void process(AudioBus* sourceBus, AudioBus* destinationBus, size_t framesToProcess);
/external/webkit/Source/WebCore/webaudio/
DAudioBasicProcessorNode.cpp79 AudioBus* sourceBus = input(0)->bus(); in process() local
83 sourceBus->zero(); in process()
85 processor()->process(sourceBus, destinationBus, framesToProcess); in process()