OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:AudioBus
(Results
1 - 5
of
5
) sorted by null
/external/chromium_org/media/base/
audio_bus.h
20
//
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
{
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
from an existing channel vector. Does not transfe
[
all
...]
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)
110
size,
AudioBus
::kChannelAlignment)));
115
AudioBus
::AudioBus(int channels, int frames, float* data
[
all
...]
/external/chromium_org/third_party/WebKit/Source/platform/exported/
WebAudioBus.cpp
29
#include "platform/audio/
AudioBus
.h"
34
class
AudioBus
: public ThreadSafeRefCounted<
AudioBus
> {
44
class WebAudioBusPrivate : public
AudioBus
{
50
RefPtr<
AudioBus
>
audioBus
=
AudioBus
::create(numberOfChannels, length);
51
audioBus
->setSampleRate(sampleRate);
54
(static_cast<
AudioBus
*>(m_private))->deref();
56
audioBus
->ref()
[
all
...]
/external/chromium_org/third_party/WebKit/Source/platform/audio/
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
> {
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
&sourceBus) const
[
all
...]
AudioBus.cpp
33
#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)
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
::channelByType(unsigned channelType
[
all
...]
Completed in 305 milliseconds