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