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

1 2 3

  /external/webkit/Source/WebCore/platform/audio/
AudioSourceProvider.h 34 class AudioBus;
40 virtual void provideInput(AudioBus* bus, size_t framesToProcess) = 0;
AudioFileReader.h 38 class AudioBus;
45 PassOwnPtr<AudioBus> createBusFromInMemoryAudioFile(const void* data, size_t dataSize, bool mixToMono, double sampleRate);
47 PassOwnPtr<AudioBus> createBusFromAudioFile(const char* filePath, bool mixToMono, double sampleRate);
49 // May pass in 0.0 for sampleRate in which case it will use the AudioBus's sampleRate
50 void writeBusToAudioFile(AudioBus* bus, const char* filePath, double fileSampleRate);
AudioBus.h 39 // An AudioBus represents a collection of one or more AudioChannels.
41 // An AudioBus with one channel is mono, an AudioBus with two channels is stereo, etc.
42 class AudioBus {
43 WTF_MAKE_NONCOPYABLE(AudioBus);
62 // If allocate is false then setChannelMemory() has to be called later on for each channel before the AudioBus is useable...
63 AudioBus(unsigned numberOfChannels, size_t length, bool allocate = true);
72 const AudioChannel* channel(unsigned channel) const { return const_cast<AudioBus*>(this)->m_channels[channel].get(); }
86 bool topologyMatches(const AudioBus &sourceBus) const;
90 static PassOwnPtr<AudioBus> createBufferFromRange(AudioBus* sourceBuffer, unsigned startFrame, unsigned endFrame)
    [all...]
Reverb.h 37 class AudioBus;
46 Reverb(AudioBus* impulseResponseBuffer, size_t renderSliceSize, size_t maxFFTSize, size_t numberOfChannels, bool useBackgroundThreads);
48 void process(AudioBus* sourceBus, AudioBus* destinationBus, size_t framesToProcess);
54 void initialize(AudioBus* impulseResponseBuffer, size_t renderSliceSize, size_t maxFFTSize, size_t numberOfChannels, bool useBackgroundThreads);
61 OwnPtr<AudioBus> m_tempBuffer;
AudioProcessor.h 36 class AudioBus;
57 virtual void process(AudioBus* source, AudioBus* destination, size_t framesToProcess) = 0;
Panner.h 36 class AudioBus;
56 virtual void pan(double azimuth, double elevation, AudioBus* inputBus, AudioBus* outputBus, size_t framesToProcess) = 0;
AudioBus.cpp 33 #include "AudioBus.h"
49 AudioBus::AudioBus(unsigned numberOfChannels, size_t length, bool allocate)
65 void AudioBus::setChannelMemory(unsigned channelIndex, float* storage, size_t length)
73 void AudioBus::zero()
79 AudioChannel* AudioBus::channelByType(unsigned channelType)
134 bool AudioBus::topologyMatches(const AudioBus& bus) const
146 PassOwnPtr<AudioBus> AudioBus::createBufferFromRange(AudioBus* sourceBuffer, unsigned startFrame, unsigned endFrame
    [all...]
EqualPowerPanner.h 38 virtual void pan(double azimuth, double elevation, AudioBus* inputBus, AudioBus* outputBuf, size_t framesToProcess);
AudioDSPKernelProcessor.h 34 #include "AudioBus.h"
42 class AudioBus;
62 virtual void process(AudioBus* source, AudioBus* destination, size_t framesToProcess);
AudioResampler.h 28 #include "AudioBus.h"
47 void process(AudioSourceProvider*, AudioBus* destinationBus, size_t framesToProcess);
63 OwnPtr<AudioBus> m_sourceBus;
HRTFPanner.h 40 virtual void pan(double azimuth, double elevation, AudioBus* inputBus, AudioBus* outputBus, size_t framesToProcess);
EqualPowerPanner.cpp 31 #include "AudioBus.h"
49 void EqualPowerPanner::pan(double azimuth, double /*elevation*/, AudioBus* inputBus, AudioBus* outputBus, size_t framesToProcess)
64 float* destinationL = outputBus->channelByType(AudioBus::ChannelLeft)->data();
65 float* destinationR = outputBus->channelByType(AudioBus::ChannelRight)->data();
  /external/webkit/Source/WebCore/platform/audio/chromium/
AudioBusChromium.cpp 29 #include "AudioBus.h"
37 PassOwnPtr<AudioBus> AudioBus::loadPlatformResource(const char* name, double sampleRate)
40 OwnPtr<AudioBus> audioBus = PlatformBridge::loadPlatformAudioResource(name, sampleRate);
41 if (!audioBus.get())
45 if (audioBus->sampleRate() == sampleRate)
46 return audioBus.release();
48 return AudioBus::createBySampleRateConverting(audioBus.get(), false, sampleRate)
    [all...]
  /external/webkit/Source/WebCore/webaudio/
AudioNodeOutput.h 28 #include "AudioBus.h"
54 AudioBus* pull(AudioBus* inPlaceBus, size_t framesToProcess);
58 AudioBus* bus() const;
115 AudioBus* m_internalOutputBus;
116 OwnPtr<AudioBus> m_monoInternalBus;
117 OwnPtr<AudioBus> m_stereoInternalBus;
121 AudioBus* m_actualDestinationBus;
AudioDestinationNode.h 34 class AudioBus;
47 virtual void provideInput(AudioBus*, size_t numberOfFrames);
AudioNodeInput.h 28 #include "AudioBus.h"
65 AudioBus* pull(AudioBus* inPlaceBus, size_t framesToProcess);
69 AudioBus* bus();
116 AudioBus* internalSummingBus();
117 void sumAllConnections(AudioBus* summingBus, size_t framesToProcess);
119 OwnPtr<AudioBus> m_monoSummingBus;
120 OwnPtr<AudioBus> m_stereoSummingBus;
AudioDestinationNode.cpp 31 #include "AudioBus.h"
53 void AudioDestinationNode::provideInput(AudioBus* destinationBus, size_t numberOfFrames)
67 AudioBus* renderedBus = input(0)->pull(destinationBus, numberOfFrames);
OfflineAudioDestinationNode.h 36 class AudioBus;
62 // Temporary AudioBus for each render quantum.
63 OwnPtr<AudioBus> m_renderBus;
AudioNodeInput.cpp 44 m_monoSummingBus = adoptPtr(new AudioBus(1, AudioNode::ProcessingSizeInFrames));
45 m_stereoSummingBus = adoptPtr(new AudioBus(2, AudioNode::ProcessingSizeInFrames));
188 AudioBus* AudioNodeInput::bus()
200 AudioBus* AudioNodeInput::internalSummingBus()
217 void AudioNodeInput::sumAllConnections(AudioBus* summingBus, size_t framesToProcess)
235 AudioBus* connectionBus = output->pull(0, framesToProcess);
242 AudioBus* AudioNodeInput::pull(AudioBus* inPlaceBus, size_t framesToProcess)
253 AudioBus* internalSummingBus = this->internalSummingBus();
AudioBuffer.h 40 class AudioBus;
70 AudioBuffer(AudioBus* bus);
AudioChannelSplitter.cpp 56 AudioBus* source = input(0)->bus();
64 AudioBus* destination = output(i)->bus();
  /external/webkit/Source/WebKit/chromium/src/
WebAudioBus.cpp 29 #include "AudioBus.h"
32 class AudioBus {
44 class WebAudioBusPrivate : public AudioBus {
50 AudioBus* audioBus = new AudioBus(numberOfChannels, length);
51 audioBus->setSampleRate(sampleRate);
55 m_private = static_cast<WebAudioBusPrivate*>(audioBus);
120 PassOwnPtr<AudioBus> WebAudioBus::release()
123 OwnPtr<AudioBus> audioBus(adoptPtr(static_cast<AudioBus*>(m_private)))
    [all...]
  /external/webkit/Source/WebKit/chromium/public/
WebAudioBus.h 30 namespace WebCore { class AudioBus; }
62 WTF::PassOwnPtr<WebCore::AudioBus> release();
70 WebCore::AudioBus* m_private;
  /external/webkit/Source/WebCore/platform/audio/mac/
AudioBusMac.mm 29 #import "AudioBus.h"
44 PassOwnPtr<AudioBus> AudioBus::loadPlatformResource(const char* name, double sampleRate)
54 OwnPtr<AudioBus> bus(createBusFromInMemoryAudioFile([audioData bytes], [audioData length], false, sampleRate));
AudioFileReaderMac.h 38 class AudioBus;
49 PassOwnPtr<AudioBus> createBus(double sampleRate, bool mixToMono);

Completed in 240 milliseconds

1 2 3