Lines Matching refs:output
48 void AudioNodeInput::connect(AudioNodeOutput* output)
52 ASSERT(output && node());
53 if (!output || !node())
56 // Check if we're already connected to this output.
57 if (m_outputs.contains(output))
60 output->addInput(this);
61 m_outputs.add(output);
68 void AudioNodeInput::disconnect(AudioNodeOutput* output)
72 ASSERT(output && node());
73 if (!output || !node())
77 if (m_outputs.contains(output)) {
78 m_outputs.remove(output);
80 output->removeInput(this);
86 if (m_disabledOutputs.contains(output)) {
87 m_disabledOutputs.remove(output);
88 output->removeInput(this);
96 void AudioNodeInput::disable(AudioNodeOutput* output)
100 ASSERT(output && node());
101 if (!output || !node())
104 ASSERT(m_outputs.contains(output));
106 m_disabledOutputs.add(output);
107 m_outputs.remove(output);
114 void AudioNodeInput::enable(AudioNodeOutput* output)
118 ASSERT(output && node());
119 if (!output || !node())
122 ASSERT(m_disabledOutputs.contains(output));
124 // Move output from disabled list to active list.
125 m_outputs.add(output);
126 m_disabledOutputs.remove(output);
151 AudioNodeOutput* output = *i;
152 m_renderingOutputs[j] = output;
153 output->updateRenderingState();
168 AudioNodeOutput* output = *i;
169 maxChannels = max(maxChannels, output->bus()->numberOfChannels());
231 AudioNodeOutput* output = renderingOutput(i);
232 ASSERT(output);
234 // Render audio from this output.
235 AudioBus* connectionBus = output->pull(0, framesToProcess);
248 // The output will optimize processing using inPlaceBus if it's able.
249 AudioNodeOutput* output = this->renderingOutput(0);
250 return output->pull(inPlaceBus, framesToProcess);