| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 NodeTypeStereoPanner = 10, | 84 NodeTypeStereoPanner = 10, |
| 85 NodeTypeConvolver = 11, | 85 NodeTypeConvolver = 11, |
| 86 NodeTypeDelay = 12, | 86 NodeTypeDelay = 12, |
| 87 NodeTypeGain = 13, | 87 NodeTypeGain = 13, |
| 88 NodeTypeChannelSplitter = 14, | 88 NodeTypeChannelSplitter = 14, |
| 89 NodeTypeChannelMerger = 15, | 89 NodeTypeChannelMerger = 15, |
| 90 NodeTypeAnalyser = 16, | 90 NodeTypeAnalyser = 16, |
| 91 NodeTypeDynamicsCompressor = 17, | 91 NodeTypeDynamicsCompressor = 17, |
| 92 NodeTypeWaveShaper = 18, | 92 NodeTypeWaveShaper = 18, |
| 93 NodeTypeIIRFilter = 19, | 93 NodeTypeIIRFilter = 19, |
| 94 NodeTypeEnd = 20 | 94 NodeTypeConstantSource = 20, |
| 95 NodeTypeEnd = 21 |
| 95 }; | 96 }; |
| 96 | 97 |
| 97 AudioHandler(NodeType, AudioNode&, float sampleRate); | 98 AudioHandler(NodeType, AudioNode&, float sampleRate); |
| 98 virtual ~AudioHandler(); | 99 virtual ~AudioHandler(); |
| 99 // dispose() is called when the owner AudioNode is about to be | 100 // dispose() is called when the owner AudioNode is about to be |
| 100 // destructed. This must be called in the main thread, and while the graph | 101 // destructed. This must be called in the main thread, and while the graph |
| 101 // lock is held. | 102 // lock is held. |
| 102 // Do not release resources used by an audio rendering thread in dispose(). | 103 // Do not release resources used by an audio rendering thread in dispose(). |
| 103 virtual void dispose(); | 104 virtual void dispose(); |
| 104 | 105 |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 HeapVector<Member<HeapHashSet<Member<AudioNode>>>> m_connectedNodes; | 347 HeapVector<Member<HeapHashSet<Member<AudioNode>>>> m_connectedNodes; |
| 347 // Represents audio node graph with Oilpan references. N-th HeapHashSet | 348 // Represents audio node graph with Oilpan references. N-th HeapHashSet |
| 348 // represents a set of AudioParam objects connected to this AudioNode's N-th | 349 // represents a set of AudioParam objects connected to this AudioNode's N-th |
| 349 // output. | 350 // output. |
| 350 HeapVector<Member<HeapHashSet<Member<AudioParam>>>> m_connectedParams; | 351 HeapVector<Member<HeapHashSet<Member<AudioParam>>>> m_connectedParams; |
| 351 }; | 352 }; |
| 352 | 353 |
| 353 } // namespace blink | 354 } // namespace blink |
| 354 | 355 |
| 355 #endif // AudioNode_h | 356 #endif // AudioNode_h |
| OLD | NEW |