Home
last modified time | relevance | path

Searched refs:AudioNode (Results 1 – 25 of 131) sorted by relevance

123456

/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
DAudioNode.cpp46 unsigned AudioNode::s_instanceCount = 0;
48 AudioNode::AudioNode(AudioContext* context, float sampleRate) in AudioNode() function in blink::AudioNode
66 atexit(AudioNode::printNodeCounts); in AudioNode()
72 AudioNode::~AudioNode() in ~AudioNode()
82 void AudioNode::initialize() in initialize()
87 void AudioNode::uninitialize() in uninitialize()
92 void AudioNode::dispose() in dispose()
104 String AudioNode::nodeTypeName() const in nodeTypeName()
149 void AudioNode::setNodeType(NodeType type) in setNodeType()
159 void AudioNode::addInput() in addInput()
[all …]
DAudioContext.h132 void notifyNodeFinishedProcessing(AudioNode*);
144 void registerLiveNode(AudioNode&);
148 void addAutomaticPullNode(AudioNode*);
149 void removeAutomaticPullNode(AudioNode*);
156 void addChangedChannelCountMode(AudioNode*);
157 void removeChangedChannelCountMode(AudioNode*);
214 void addDeferredBreakConnection(AudioNode&);
225 void disposeOutputs(AudioNode&);
259 void refNode(AudioNode*);
260 void derefNode(AudioNode*);
[all …]
DAudioNodeInput.cpp37 inline AudioNodeInput::AudioNodeInput(AudioNode& node) in AudioNodeInput()
42 m_internalSummingBus = AudioBus::create(1, AudioNode::ProcessingSizeInFrames); in AudioNodeInput()
45 AudioNodeInput* AudioNodeInput::create(AudioNode& node) in create()
136 … m_internalSummingBus = AudioBus::create(numberOfInputChannels, AudioNode::ProcessingSizeInFrames); in updateInternalBus()
141 AudioNode::ChannelCountMode mode = node().internalChannelCountMode(); in numberOfChannels()
142 if (mode == AudioNode::Explicit) in numberOfChannels()
155 if (mode == AudioNode::ClampedMax) in numberOfChannels()
166 if (numberOfRenderingConnections() == 1 && node().internalChannelCountMode() == AudioNode::Max) in bus()
185 … ASSERT(numberOfRenderingConnections() > 1 || node().internalChannelCountMode() != AudioNode::Max); in sumAllConnections()
212 … if (numberOfRenderingConnections() == 1 && node().internalChannelCountMode() == AudioNode::Max) { in pull()
DAudioNodeOutput.h45 static AudioNodeOutput* create(AudioNode*, unsigned numberOfChannels);
50 AudioNode* node() const { return m_node; } in node()
86 AudioNodeOutput(AudioNode*, unsigned numberOfChannels);
88 Member<AudioNode> m_node;
140 HeapHashMap<Member<AudioNodeInput>, Member<AudioNode> > m_inputs;
141 typedef HeapHashMap<Member<AudioNodeInput>, Member<AudioNode> >::iterator InputsIterator;
DAudioNodeInput.h35 class AudioNode; variable
44 static AudioNodeInput* create(AudioNode&);
51 AudioNode& node() const { return *m_node; } in node()
82 explicit AudioNodeInput(AudioNode&);
84 Member<AudioNode> m_node;
DAudioBasicProcessorNode.cpp40 : AudioNode(context, sampleRate) in AudioBasicProcessorNode()
56 AudioNode::trace(visitor); in trace()
62 AudioNode::dispose(); in dispose()
73 AudioNode::initialize(); in initialize()
84 AudioNode::uninitialize(); in uninitialize()
142 AudioNode::checkNumberOfChannelsForInput(input); in checkNumberOfChannelsForInput()
DAudioNode.h52 class AudioNode : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<AudioNode>, publ…
53 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<AudioNode>);
55 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(AudioNode);
59 AudioNode(AudioContext*, float sampleRate);
60 virtual ~AudioNode();
132 virtual void connect(AudioNode*, unsigned outputIndex, unsigned inputIndex, ExceptionState&);
DAudioBasicInspectorNode.cpp38 : AudioNode(context, sampleRate) in AudioBasicInspectorNode()
54 void AudioBasicInspectorNode::connect(AudioNode* destination, unsigned outputIndex, unsigned inputI… in connect()
60 AudioNode::connect(destination, outputIndex, inputIndex, exceptionState); in connect()
70 AudioNode::disconnect(outputIndex, exceptionState); in disconnect()
89 AudioNode::checkNumberOfChannelsForInput(input); in checkNumberOfChannelsForInput()
DScriptProcessorNode.cpp91 : AudioNode(context, sampleRate) in ScriptProcessorNode()
98 …, m_internalInputBus(AudioBus::create(numberOfInputChannels, AudioNode::ProcessingSizeInFrames, fa… in ScriptProcessorNode()
101 if (m_bufferSize < AudioNode::ProcessingSizeInFrames) in ScriptProcessorNode()
102 m_bufferSize = AudioNode::ProcessingSizeInFrames; in ScriptProcessorNode()
122 AudioNode::dispose(); in dispose()
142 AudioNode::initialize(); in initialize()
153 AudioNode::uninitialize(); in uninitialize()
280 AudioNode::trace(visitor); in trace()
DConvolverNode.cpp51 : AudioNode(context, sampleRate) in ConvolverNode()
74 AudioNode::dispose(); in dispose()
105 AudioNode::initialize(); in initialize()
114 AudioNode::uninitialize(); in uninitialize()
151 …OwnPtr<Reverb> reverb = adoptPtr(new Reverb(bufferBus.get(), AudioNode::ProcessingSizeInFrames, Ma… in setBuffer()
190 AudioNode::trace(visitor); in trace()
DDynamicsCompressorNode.cpp42 : AudioNode(context, sampleRate) in DynamicsCompressorNode()
67 AudioNode::dispose(); in dispose()
98 AudioNode::initialize(); in initialize()
108 AudioNode::uninitialize(); in uninitialize()
129 AudioNode::trace(visitor); in trace()
DGainNode.cpp38 : AudioNode(context, sampleRate) in GainNode()
40 …, m_sampleAccurateGainValues(AudioNode::ProcessingSizeInFrames) // FIXME: can probably share temp … in GainNode()
107 AudioNode::checkNumberOfChannelsForInput(input); in checkNumberOfChannelsForInput()
113 AudioNode::trace(visitor); in trace()
DPannerNode.cpp48 : AudioNode(context, sampleRate) in PannerNode()
89 AudioNode::dispose(); in dispose()
101 HashMap<AudioNode*, bool> visitedNodes; in pullInputs()
107 AudioNode::pullInputs(framesToProcess); in pullInputs()
171 AudioNode::initialize(); in initialize()
182 AudioNode::uninitialize(); in uninitialize()
550 void PannerNode::notifyAudioSourcesConnectedToNode(AudioNode* node, HashMap<AudioNode*, bool>& visi… in notifyAudioSourcesConnectedToNode() argument
568 AudioNode* connectedNode = connectedOutput->node(); in notifyAudioSourcesConnectedToNode()
569 HashMap<AudioNode*, bool>::iterator iterator = visitedNodes.find(connectedNode); in notifyAudioSourcesConnectedToNode()
585 AudioNode::trace(visitor); in trace()
DAudioContext.cpp542 void AudioContext::notifyNodeFinishedProcessing(AudioNode* node) in notifyNodeFinishedProcessing()
558 void AudioContext::refNode(AudioNode* node) in refNode()
567 void AudioContext::derefNode(AudioNode* node) in derefNode()
658 void AudioContext::addDeferredBreakConnection(AudioNode& node) in addDeferredBreakConnection()
724 void AudioContext::registerLiveNode(AudioNode& node) in registerLiveNode()
749 void AudioContext::disposeOutputs(AudioNode& node) in disposeOutputs()
804 void AudioContext::addAutomaticPullNode(AudioNode* node) in addAutomaticPullNode()
814 void AudioContext::removeAutomaticPullNode(AudioNode* node) in removeAutomaticPullNode()
833 …for (HashSet<AudioNode*>::iterator i = m_automaticPullNodes.begin(); i != m_automaticPullNodes.end… in updateAutomaticPullNodes()
834 AudioNode* output = *i; in updateAutomaticPullNodes()
[all …]
DDefaultAudioDestinationNode.cpp67 AudioNode::initialize(); in initialize()
79 AudioNode::uninitialize(); in uninitialize()
118 AudioNode::setChannelCount(channelCount, exceptionState); in setChannelCount()
DAudioSourceNode.h36 class AudioSourceNode : public AudioNode {
40 : AudioNode(context, sampleRate) { } in AudioSourceNode()
DPannerNode.h46 class PannerNode FINAL : public AudioNode {
134 void notifyAudioSourcesConnectedToNode(AudioNode*, HashMap<AudioNode*, bool> &visitedNodes);
DAudioNode.idl36 // http://webaudio.github.io/web-audio-api/#idl-def-AudioNode
41 ] interface AudioNode : EventTarget {
42 // FIXME: AudioNode argument should not be nullable
43 …[RaisesException] void connect(AudioNode? destination, [Default=Undefined] optional unsigned long …
DAudioNodeOutput.cpp37 inline AudioNodeOutput::AudioNodeOutput(AudioNode* node, unsigned numberOfChannels) in AudioNodeOutput()
51 m_internalBus = AudioBus::create(numberOfChannels, AudioNode::ProcessingSizeInFrames); in AudioNodeOutput()
54 AudioNodeOutput* AudioNodeOutput::create(AudioNode* node, unsigned numberOfChannels) in create()
96 m_internalBus = AudioBus::create(numberOfChannels(), AudioNode::ProcessingSizeInFrames); in updateInternalBus()
DAudioBasicInspectorNode.h37 class AudioBasicInspectorNode : public AudioNode {
43 …virtual void connect(AudioNode*, unsigned outputIndex, unsigned inputIndex, ExceptionState&) OVERR…
/external/chromium_org/chromeos/dbus/
Daudio_node.cc13 AudioNode::AudioNode() in AudioNode() function in chromeos::AudioNode
20 AudioNode::AudioNode(bool is_input, in AudioNode() function in chromeos::AudioNode
36 std::string AudioNode::ToString() const { in ToString()
Daudio_node.h17 struct CHROMEOS_EXPORT AudioNode { struct
27 AudioNode(); argument
28 AudioNode(bool is_input,
38 typedef std::vector<AudioNode> AudioNodeList;
Dcras_audio_client_stub_impl.cc21 AudioNode node_1; in Init()
29 AudioNode node_2; in Init()
37 AudioNode node_3; in Init()
46 AudioNode node_4; in Init()
54 AudioNode node_5; in Init()
/external/chromium_org/extensions/shell/browser/
Dshell_audio_controller_chromeos_unittest.cc16 using chromeos::AudioNode;
48 AudioNode CreateNode(chromeos::AudioDeviceType type) { in CreateNode()
49 AudioNode node; in CreateNode()
85 AudioNode internal_speaker = in TEST_F()
87 AudioNode internal_mic = CreateNode(chromeos::AUDIO_TYPE_INTERNAL_MIC); in TEST_F()
88 AudioNode headphone = CreateNode(chromeos::AUDIO_TYPE_HEADPHONE); in TEST_F()
89 AudioNode external_mic = CreateNode(chromeos::AUDIO_TYPE_MIC); in TEST_F()
/external/chromium_org/chromeos/audio/
Dcras_audio_handler_unittest.cc37 const AudioNode kInternalSpeaker(
47 const AudioNode kHeadphone(
57 const AudioNode kInternalMic(
67 const AudioNode kMicJack(
77 const AudioNode kUSBMic(
87 const AudioNode kKeyboardMic(
97 const AudioNode kOtherTypeOutput(
107 const AudioNode kOtherTypeInput(
117 const AudioNode kBluetoothHeadset (
127 const AudioNode kHDMIOutput (
[all …]

123456