OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010, Google Inc. All rights reserved. | 2 * Copyright (C) 2010, Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 String channelCountMode(); | 173 String channelCountMode(); |
174 virtual void setChannelCountMode(const String&, ExceptionState&); | 174 virtual void setChannelCountMode(const String&, ExceptionState&); |
175 | 175 |
176 String channelInterpretation(); | 176 String channelInterpretation(); |
177 void setChannelInterpretation(const String&, ExceptionState&); | 177 void setChannelInterpretation(const String&, ExceptionState&); |
178 | 178 |
179 ChannelCountMode internalChannelCountMode() const { return m_channelCountMod
e; } | 179 ChannelCountMode internalChannelCountMode() const { return m_channelCountMod
e; } |
180 AudioBus::ChannelInterpretation internalChannelInterpretation() const { retu
rn m_channelInterpretation; } | 180 AudioBus::ChannelInterpretation internalChannelInterpretation() const { retu
rn m_channelInterpretation; } |
181 | 181 |
182 // EventTarget | 182 // EventTarget |
183 virtual const AtomicString& interfaceName() const OVERRIDE FINAL; | 183 virtual const AtomicString& interfaceName() const override final; |
184 virtual ExecutionContext* executionContext() const OVERRIDE FINAL; | 184 virtual ExecutionContext* executionContext() const override final; |
185 | 185 |
186 void updateChannelCountMode(); | 186 void updateChannelCountMode(); |
187 | 187 |
188 virtual void trace(Visitor*) OVERRIDE; | 188 virtual void trace(Visitor*) override; |
189 | 189 |
190 protected: | 190 protected: |
191 // Inputs and outputs must be created before the AudioNode is initialized. | 191 // Inputs and outputs must be created before the AudioNode is initialized. |
192 void addInput(); | 192 void addInput(); |
193 void addOutput(AudioNodeOutput*); | 193 void addOutput(AudioNodeOutput*); |
194 | 194 |
195 // Called by processIfNecessary() to cause all parts of the rendering graph
connected to us to process. | 195 // Called by processIfNecessary() to cause all parts of the rendering graph
connected to us to process. |
196 // Each rendering quantum, the audio data for each of the AudioNode's inputs
will be available after this method is called. | 196 // Each rendering quantum, the audio data for each of the AudioNode's inputs
will be available after this method is called. |
197 // Called from context's audio thread. | 197 // Called from context's audio thread. |
198 virtual void pullInputs(size_t framesToProcess); | 198 virtual void pullInputs(size_t framesToProcess); |
(...skipping 27 matching lines...) Expand all Loading... |
226 ChannelCountMode m_channelCountMode; | 226 ChannelCountMode m_channelCountMode; |
227 AudioBus::ChannelInterpretation m_channelInterpretation; | 227 AudioBus::ChannelInterpretation m_channelInterpretation; |
228 // The new channel count mode that will be used to set the actual mode in th
e pre or post | 228 // The new channel count mode that will be used to set the actual mode in th
e pre or post |
229 // rendering phase. | 229 // rendering phase. |
230 ChannelCountMode m_newChannelCountMode; | 230 ChannelCountMode m_newChannelCountMode; |
231 }; | 231 }; |
232 | 232 |
233 } // namespace blink | 233 } // namespace blink |
234 | 234 |
235 #endif // AudioNode_h | 235 #endif // AudioNode_h |
OLD | NEW |