Searched defs:AudioBus (Results 1 - 5 of 5) sorted by last modified time

/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DAudioBus.cpp33 #include "platform/audio/AudioBus.h"
53 PassRefPtr<AudioBus> AudioBus::create(unsigned numberOfChannels, size_t length, bool allocate)
59 return adoptRef(new AudioBus(numberOfChannels, length, allocate));
62 AudioBus::AudioBus(unsigned numberOfChannels, size_t length, bool allocate) function in class:blink::AudioBus
78 void AudioBus::setChannelMemory(unsigned channelIndex, float* storage, size_t length)
86 void AudioBus::resizeSmaller(size_t newLength)
96 void AudioBus::zero()
102 AudioChannel* AudioBus
[all...]
H A DAudioBus.h40 // An AudioBus represents a collection of one or more AudioChannels.
42 // An AudioBus with one channel is mono, an AudioBus with two channels is stereo, etc.
43 class PLATFORM_EXPORT AudioBus : public ThreadSafeRefCounted<AudioBus> { class in namespace:blink
44 WTF_MAKE_NONCOPYABLE(AudioBus);
68 // If allocate is false then setChannelMemory() has to be called later on for each channel before the AudioBus is useable...
69 static PassRefPtr<AudioBus> create(unsigned numberOfChannels, size_t length, bool allocate = true);
78 const AudioChannel* channel(unsigned channel) const { return const_cast<AudioBus*>(this)->m_channels[channel].get(); }
103 bool topologyMatches(const AudioBus
150 AudioBus() { }; function in class:blink::AudioBus
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/exported/
H A DWebAudioBus.cpp29 #include "platform/audio/AudioBus.h"
34 class AudioBus : public ThreadSafeRefCounted<AudioBus> { class in namespace:blink
44 class WebAudioBusPrivate : public AudioBus {
50 RefPtr<AudioBus> audioBus = AudioBus::create(numberOfChannels, length);
54 (static_cast<AudioBus*>(m_private))->deref();
80 (static_cast<AudioBus*>(m_private))->deref();
137 PassRefPtr<AudioBus> WebAudioBus::release()
140 RefPtr<AudioBus> audioBu
[all...]
/external/chromium_org/media/base/
H A Daudio_bus.cc19 (AudioBus::kChannelAlignment - 1)) == 0U;
22 // Calculates the required size for an AudioBus with the given params, sets
29 ((frames * sizeof(float) + AudioBus::kChannelAlignment - 1) &
30 ~(AudioBus::kChannelAlignment - 1)) / sizeof(float);
43 int frames, AudioBus* dest,
63 static void ToInterleavedInternal(const AudioBus* source, int start_frame,
101 AudioBus::AudioBus(int channels, int frames) function in class:media::AudioBus
110 size, AudioBus::kChannelAlignment)));
115 AudioBus function in class:media::AudioBus
128 AudioBus::AudioBus(int frames, const std::vector<float*>& channel_data) function in class:media::AudioBus
140 AudioBus::AudioBus(int channels) function in class:media::AudioBus
[all...]
H A Daudio_bus.h20 // AudioBus objects can be created normally or via wrapping. Normally, AudioBus
22 // AudioBus instead routes requests for channel data to the wrapped object.
23 class MEDIA_EXPORT AudioBus { class in namespace:media
29 // Creates a new AudioBus and allocates |channels| of length |frames|. Uses
31 static scoped_ptr<AudioBus> Create(int channels, int frames);
32 static scoped_ptr<AudioBus> Create(const AudioParameters& params);
34 // Creates a new AudioBus with the given number of channels, but zero length.
37 static scoped_ptr<AudioBus> CreateWrapper(int channels);
39 // Creates a new AudioBus fro
[all...]

Completed in 589 milliseconds