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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 unsigned numberOfOutputs() const; | 296 unsigned numberOfOutputs() const; |
297 unsigned long channelCount() const; | 297 unsigned long channelCount() const; |
298 void setChannelCount(unsigned long, ExceptionState&); | 298 void setChannelCount(unsigned long, ExceptionState&); |
299 String channelCountMode() const; | 299 String channelCountMode() const; |
300 void setChannelCountMode(const String&, ExceptionState&); | 300 void setChannelCountMode(const String&, ExceptionState&); |
301 String channelInterpretation() const; | 301 String channelInterpretation() const; |
302 void setChannelInterpretation(const String&, ExceptionState&); | 302 void setChannelInterpretation(const String&, ExceptionState&); |
303 | 303 |
304 // EventTarget | 304 // EventTarget |
305 const AtomicString& interfaceName() const final; | 305 const AtomicString& interfaceName() const final; |
306 ExecutionContext* executionContext() const final; | 306 ExecutionContext* getExecutionContext() const final; |
307 | 307 |
308 // Called inside AudioHandler constructors. | 308 // Called inside AudioHandler constructors. |
309 void didAddOutput(unsigned numberOfOutputs); | 309 void didAddOutput(unsigned numberOfOutputs); |
310 // Like disconnect, but no exception is thrown if the outputIndex is invalid
. Just do nothing | 310 // Like disconnect, but no exception is thrown if the outputIndex is invalid
. Just do nothing |
311 // in that case. | 311 // in that case. |
312 void disconnectWithoutException(unsigned outputIndex); | 312 void disconnectWithoutException(unsigned outputIndex); |
313 | 313 |
314 protected: | 314 protected: |
315 explicit AudioNode(AbstractAudioContext&); | 315 explicit AudioNode(AbstractAudioContext&); |
316 // This should be called in a constructor. | 316 // This should be called in a constructor. |
(...skipping 15 matching lines...) Expand all Loading... |
332 HeapVector<Member<HeapHashSet<Member<AudioNode>>>> m_connectedNodes; | 332 HeapVector<Member<HeapHashSet<Member<AudioNode>>>> m_connectedNodes; |
333 // Represents audio node graph with Oilpan references. N-th HeapHashSet | 333 // Represents audio node graph with Oilpan references. N-th HeapHashSet |
334 // represents a set of AudioParam objects connected to this AudioNode's N-th | 334 // represents a set of AudioParam objects connected to this AudioNode's N-th |
335 // output. | 335 // output. |
336 HeapVector<Member<HeapHashSet<Member<AudioParam>>>> m_connectedParams; | 336 HeapVector<Member<HeapHashSet<Member<AudioParam>>>> m_connectedParams; |
337 }; | 337 }; |
338 | 338 |
339 } // namespace blink | 339 } // namespace blink |
340 | 340 |
341 #endif // AudioNode_h | 341 #endif // AudioNode_h |
OLD | NEW |