Searched defs:AudioBus (Results 1 - 5 of 5) sorted by relevance
/external/chromium_org/media/base/ |
H A D | audio_bus.h | 19 // AudioBus objects can be created normally or via wrapping. Normally, AudioBus 21 // AudioBus instead routes requests for channel data to the wrapped object. 22 class MEDIA_EXPORT AudioBus { class in namespace:media 28 // Creates a new AudioBus and allocates |channels| of length |frames|. Uses 30 static scoped_ptr<AudioBus> Create(int channels, int frames); 31 static scoped_ptr<AudioBus> Create(const AudioParameters& params); 33 // Creates a new AudioBus with the given number of channels, but zero length. 36 static scoped_ptr<AudioBus> CreateWrapper(int channels); 38 // Creates a new AudioBus fro [all...] |
H A D | audio_bus.cc | 19 (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...] |
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
H A D | WebAudioBus.cpp | 29 #include "platform/audio/AudioBus.h" 34 class AudioBus : public ThreadSafeRefCounted<AudioBus> { class in namespace:WebCore 46 class WebAudioBusPrivate : public AudioBus { 52 RefPtr<AudioBus> audioBus = AudioBus::create(numberOfChannels, length); 56 (static_cast<AudioBus*>(m_private))->deref(); 82 (static_cast<AudioBus*>(m_private))->deref(); 139 PassRefPtr<AudioBus> WebAudioBus::release() 142 RefPtr<AudioBus> audioBu [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
H A D | AudioBus.h | 40 // 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:WebCore 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:WebCore::AudioBus [all...] |
H A D | AudioBus.cpp | 33 #include "platform/audio/AudioBus.h" 50 PassRefPtr<AudioBus> AudioBus::create(unsigned numberOfChannels, size_t length, bool allocate) 56 return adoptRef(new AudioBus(numberOfChannels, length, allocate)); 59 AudioBus::AudioBus(unsigned numberOfChannels, size_t length, bool allocate) function in class:WebCore::AudioBus 75 void AudioBus::setChannelMemory(unsigned channelIndex, float* storage, size_t length) 83 void AudioBus::resizeSmaller(size_t newLength) 93 void AudioBus::zero() 99 AudioChannel* AudioBus [all...] |
Completed in 355 milliseconds