HomeSort by relevance Sort by last modified time
    Searched full:numberofframes (Results 1 - 25 of 42) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/platform/audio/
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...]
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;
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);
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;
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) {
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);
AudioDestinationConsumer.h 46 virtual void consumeAudio(AudioBus*, size_t numberOfFrames) = 0;
  /external/chromium_org/third_party/WebKit/Source/modules/webaudio/
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)
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);
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.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)
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);
MediaStreamAudioDestinationNode.cpp 74 void MediaStreamAudioDestinationNode::process(size_t numberOfFrames)
77 m_source->consumeAudio(m_mixBus.get(), numberOfFrames);
OfflineAudioContext.idl 27 Constructor(unsigned long numberOfChannels, unsigned long numberOfFrames, float sampleRate),
AudioBuffer.h 46 static PassRefPtr<AudioBuffer> create(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate);
74 AudioBuffer(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate);
MediaStreamAudioSourceNode.cpp 90 void MediaStreamAudioSourceNode::process(size_t numberOfFrames)
109 audioSourceProvider()->provideInput(outputBus, numberOfFrames);
  /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);
  /external/webrtc/test/testsupport/mock/
mock_frame_reader.h 27 MOCK_METHOD0(NumberOfFrames, int());
  /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;
WebAudioDevice.h 43 virtual void render(const WebVector<float*>& sourceData, const WebVector<float*>& destinationData, size_t numberOfFrames);
  /external/webrtc/test/testsupport/
frame_reader.h 45 virtual int NumberOfFrames() = 0;
61 int NumberOfFrames() { return number_of_frames_; }
  /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/Source/platform/mediastream/
MediaStreamSource.cpp 99 void MediaStreamSource::consumeAudio(AudioBus* bus, size_t numberOfFrames)
104 (*it)->consumeAudio(bus, numberOfFrames);

Completed in 980 milliseconds

1 2