| 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 17 matching lines...) Expand all Loading... |
| 28 #include "modules/EventTargetModules.h" | 28 #include "modules/EventTargetModules.h" |
| 29 #include "modules/ModulesExport.h" | 29 #include "modules/ModulesExport.h" |
| 30 #include "platform/audio/AudioBus.h" | 30 #include "platform/audio/AudioBus.h" |
| 31 #include "wtf/Forward.h" | 31 #include "wtf/Forward.h" |
| 32 #include "wtf/OwnPtr.h" | 32 #include "wtf/OwnPtr.h" |
| 33 #include "wtf/PassOwnPtr.h" | 33 #include "wtf/PassOwnPtr.h" |
| 34 #include "wtf/RefPtr.h" | 34 #include "wtf/RefPtr.h" |
| 35 #include "wtf/Vector.h" | 35 #include "wtf/Vector.h" |
| 36 #include "wtf/build_config.h" | 36 #include "wtf/build_config.h" |
| 37 | 37 |
| 38 #if ENABLE(WEB_AUDIO) | |
| 39 | |
| 40 #define DEBUG_AUDIONODE_REFERENCES 0 | 38 #define DEBUG_AUDIONODE_REFERENCES 0 |
| 41 | 39 |
| 42 namespace blink { | 40 namespace blink { |
| 43 | 41 |
| 44 class AbstractAudioContext; | 42 class AbstractAudioContext; |
| 45 class AudioNode; | 43 class AudioNode; |
| 46 class AudioNodeInput; | 44 class AudioNodeInput; |
| 47 class AudioNodeOutput; | 45 class AudioNodeOutput; |
| 48 class AudioParam; | 46 class AudioParam; |
| 49 class ExceptionState; | 47 class ExceptionState; |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 // output. | 330 // output. |
| 333 HeapVector<Member<HeapHashSet<Member<AudioNode>>>> m_connectedNodes; | 331 HeapVector<Member<HeapHashSet<Member<AudioNode>>>> m_connectedNodes; |
| 334 // Represents audio node graph with Oilpan references. N-th HeapHashSet | 332 // Represents audio node graph with Oilpan references. N-th HeapHashSet |
| 335 // represents a set of AudioParam objects connected to this AudioNode's N-th | 333 // represents a set of AudioParam objects connected to this AudioNode's N-th |
| 336 // output. | 334 // output. |
| 337 HeapVector<Member<HeapHashSet<Member<AudioParam>>>> m_connectedParams; | 335 HeapVector<Member<HeapHashSet<Member<AudioParam>>>> m_connectedParams; |
| 338 }; | 336 }; |
| 339 | 337 |
| 340 } // namespace blink | 338 } // namespace blink |
| 341 | 339 |
| 342 #endif // ENABLE(WEB_AUDIO) | |
| 343 | |
| 344 #endif // AudioNode_h | 340 #endif // AudioNode_h |
| OLD | NEW |