HomeSort by relevance Sort by last modified time
    Searched refs:numberOfFrames (Results 1 - 25 of 40) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/platform/audio/
ReverbInputBuffer.cpp 43 void ReverbInputBuffer::write(const float* sourceP, size_t numberOfFrames)
46 bool isCopySafe = m_writeIndex + numberOfFrames <= bufferLength;
51 memcpy(m_buffer.data() + m_writeIndex, sourceP, sizeof(float) * numberOfFrames);
53 m_writeIndex += numberOfFrames;
60 float* ReverbInputBuffer::directReadFrom(int* readIndex, size_t numberOfFrames)
63 bool isPointerGood = readIndex && *readIndex >= 0 && *readIndex + numberOfFrames <= bufferLength;
76 *readIndex = (*readIndex + numberOfFrames) % bufferLength;
ReverbAccumulationBuffer.cpp 48 void ReverbAccumulationBuffer::readAndClear(float* destination, size_t numberOfFrames)
51 bool isCopySafe = m_readIndex <= bufferLength && numberOfFrames <= bufferLength;
58 size_t numberOfFrames1 = std::min(numberOfFrames, framesAvailable);
59 size_t numberOfFrames2 = numberOfFrames - numberOfFrames1;
71 m_readIndex = (m_readIndex + numberOfFrames) % bufferLength;
72 m_readTimeFrame += numberOfFrames;
75 void ReverbAccumulationBuffer::updateReadIndex(int* readIndex, size_t numberOfFrames) const
78 *readIndex = (*readIndex + numberOfFrames) % m_buffer.size();
81 int ReverbAccumulationBuffer::accumulate(float* source, size_t numberOfFrames, int* readIndex, size_t delayFrames)
88 *readIndex = (*readIndex + numberOfFrames) % bufferLength
    [all...]
ReverbAccumulationBuffer.h 44 // This will read from, then clear-out numberOfFrames
45 void readAndClear(float* destination, size_t numberOfFrames);
51 int accumulate(float* source, size_t numberOfFrames, int* readIndex, size_t delayFrames);
54 void updateReadIndex(int* readIndex, size_t numberOfFrames) const;
ReverbInputBuffer.h 43 // The assumption is that the buffer's length is evenly divisible by numberOfFrames (for nearly all cases this will be fine).
44 // FIXME: remove numberOfFrames restriction...
45 void write(const float* sourceP, size_t numberOfFrames);
52 // The assumption is that the buffer's length is evenly divisible by numberOfFrames.
53 // FIXME: remove numberOfFrames restriction...
54 float* directReadFrom(int* readIndex, size_t numberOfFrames);
AudioDestinationConsumer.h 46 virtual void consumeAudio(AudioBus*, size_t numberOfFrames) = 0;
AudioDelayDSPKernel.h 42 void setDelayFrames(double numberOfFrames) { m_desiredDelayFrames = numberOfFrames; }
AudioPullFIFO.h 56 // Fill the FIFO buffer with at least |numberOfFrames| more data.
57 void fillBuffer(size_t numberOfFrames);
AudioPullFIFO.cpp 58 void AudioPullFIFO::fillBuffer(size_t numberOfFrames)
60 // Keep asking the provider to give us data until we have received at least |numberOfFrames| of
64 while (framesProvided < numberOfFrames) {
  /external/chromium_org/third_party/WebKit/Source/platform/exported/
WebAudioDevice.cpp 30 void WebAudioDevice::RenderCallback::render(const WebVector<float*>& sourceData, const WebVector<float*>& destinationData, size_t numberOfFrames)
  /external/chromium_org/third_party/WebKit/public/platform/
WebAudioDestinationConsumer.h 38 // The size of the vector is the number of audio channels, and numberOfFrames is the
40 virtual void consumeAudio(const WebVector<const float*>&, size_t numberOfFrames) = 0;
WebAudioSourceProvider.h 38 virtual void provideInput(const WebVector<float*>& audioData, size_t numberOfFrames) = 0;
WebAudioDevice.h 43 virtual void render(const WebVector<float*>& sourceData, const WebVector<float*>& destinationData, size_t numberOfFrames);
  /external/chromium_org/third_party/WebKit/Source/modules/webaudio/
OfflineAudioContext.h 36 static PassRefPtr<OfflineAudioContext> create(ExecutionContext*, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState&);
41 OfflineAudioContext(Document*, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate);
OfflineAudioContext.idl 27 Constructor(unsigned long numberOfChannels, unsigned long numberOfFrames, float sampleRate),
OfflineAudioContext.cpp 39 PassRefPtr<OfflineAudioContext> OfflineAudioContext::create(ExecutionContext* context, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState& exceptionState)
51 if (!numberOfFrames) {
66 RefPtr<OfflineAudioContext> audioContext(adoptRef(new OfflineAudioContext(document, numberOfChannels, numberOfFrames, sampleRate)));
71 OfflineAudioContext::OfflineAudioContext(Document* document, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate)
72 : AudioContext(document, numberOfChannels, numberOfFrames, sampleRate)
AudioDestinationNode.cpp 54 void AudioDestinationNode::render(AudioBus* sourceBus, AudioBus* destinationBus, size_t numberOfFrames)
77 AudioBus* renderedBus = input(0)->pull(destinationBus, numberOfFrames);
87 context()->processAutomaticPullNodes(numberOfFrames);
93 m_currentSampleFrame += numberOfFrames;
AudioDestinationNode.h 50 virtual void render(AudioBus* sourceBus, AudioBus* destinationBus, size_t numberOfFrames);
81 virtual void provideInput(AudioBus* destinationBus, size_t numberOfFrames)
83 bool isGood = destinationBus && destinationBus->length() == numberOfFrames && m_sourceBus->length() == numberOfFrames;
AudioBuffer.h 46 static PassRefPtr<AudioBuffer> create(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate);
74 AudioBuffer(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate);
AudioBuffer.cpp 53 PassRefPtr<AudioBuffer> AudioBuffer::create(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate)
55 if (sampleRate < minAllowedSampleRate() || sampleRate > maxAllowedSampleRate() || numberOfChannels > AudioContext::maxNumberOfChannels() || !numberOfFrames)
58 RefPtr<AudioBuffer> buffer = adoptRef(new AudioBuffer(numberOfChannels, numberOfFrames, sampleRate));
82 AudioBuffer::AudioBuffer(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate)
85 , m_length(numberOfFrames)
MediaElementAudioSourceNode.cpp 104 void MediaElementAudioSourceNode::process(size_t numberOfFrames)
121 m_multiChannelResampler->process(provider, outputBus, numberOfFrames);
125 provider->provideInput(outputBus, numberOfFrames);
MediaStreamAudioDestinationNode.cpp 74 void MediaStreamAudioDestinationNode::process(size_t numberOfFrames)
77 m_source->consumeAudio(m_mixBus.get(), numberOfFrames);
MediaStreamAudioSourceNode.cpp 90 void MediaStreamAudioSourceNode::process(size_t numberOfFrames)
109 audioSourceProvider()->provideInput(outputBus, numberOfFrames);
AudioContext.idl 30 Constructor(unsigned long numberOfChannels, unsigned long numberOfFrames, float sampleRate),
50 [RaisesException] AudioBuffer createBuffer(unsigned long numberOfChannels, unsigned long numberOfFrames, float sampleRate);
82 // void prepareOfflineBufferRendering(unsigned long numberOfChannels, unsigned long numberOfFrames, float sampleRate);
  /external/chromium_org/third_party/WebKit/Source/platform/audio/chromium/
AudioDestinationChromium.cpp 138 void AudioDestinationChromium::render(const blink::WebVector<float*>& sourceData, const blink::WebVector<float*>& audioData, size_t numberOfFrames)
146 bool isBufferSizeGood = numberOfFrames == m_callbackBufferSize;
155 RefPtr<AudioBus> wrapperBus = AudioBus::create(2, numberOfFrames, false);
156 wrapperBus->setChannelMemory(0, sourceData[0], numberOfFrames);
157 wrapperBus->setChannelMemory(1, sourceData[1], numberOfFrames);
162 m_renderBus->setChannelMemory(i, audioData[i], numberOfFrames);
164 m_fifo->consume(m_renderBus.get(), numberOfFrames);
AudioDestinationChromium.h 60 virtual void render(const blink::WebVector<float*>& sourceData, const blink::WebVector<float*>& audioData, size_t numberOfFrames);

Completed in 340 milliseconds

1 2