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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 NodeTypePanner, | 81 NodeTypePanner, |
82 NodeTypeStereoPanner, | 82 NodeTypeStereoPanner, |
83 NodeTypeConvolver, | 83 NodeTypeConvolver, |
84 NodeTypeDelay, | 84 NodeTypeDelay, |
85 NodeTypeGain, | 85 NodeTypeGain, |
86 NodeTypeChannelSplitter, | 86 NodeTypeChannelSplitter, |
87 NodeTypeChannelMerger, | 87 NodeTypeChannelMerger, |
88 NodeTypeAnalyser, | 88 NodeTypeAnalyser, |
89 NodeTypeDynamicsCompressor, | 89 NodeTypeDynamicsCompressor, |
90 NodeTypeWaveShaper, | 90 NodeTypeWaveShaper, |
| 91 NodeTypeIIRFilter, |
91 NodeTypeEnd | 92 NodeTypeEnd |
92 }; | 93 }; |
93 | 94 |
94 AudioHandler(NodeType, AudioNode&, float sampleRate); | 95 AudioHandler(NodeType, AudioNode&, float sampleRate); |
95 virtual ~AudioHandler(); | 96 virtual ~AudioHandler(); |
96 // dispose() is called when the owner AudioNode is about to be | 97 // dispose() is called when the owner AudioNode is about to be |
97 // destructed. This must be called in the main thread, and while the graph | 98 // destructed. This must be called in the main thread, and while the graph |
98 // lock is held. | 99 // lock is held. |
99 // Do not release resources used by an audio rendering thread in dispose(). | 100 // Do not release resources used by an audio rendering thread in dispose(). |
100 virtual void dispose(); | 101 virtual void dispose(); |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 HeapVector<Member<HeapHashSet<Member<AudioNode>>>> m_connectedNodes; | 331 HeapVector<Member<HeapHashSet<Member<AudioNode>>>> m_connectedNodes; |
331 // Represents audio node graph with Oilpan references. N-th HeapHashSet | 332 // Represents audio node graph with Oilpan references. N-th HeapHashSet |
332 // 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 |
333 // output. | 334 // output. |
334 HeapVector<Member<HeapHashSet<Member<AudioParam>>>> m_connectedParams; | 335 HeapVector<Member<HeapHashSet<Member<AudioParam>>>> m_connectedParams; |
335 }; | 336 }; |
336 | 337 |
337 } // namespace blink | 338 } // namespace blink |
338 | 339 |
339 #endif // AudioNode_h | 340 #endif // AudioNode_h |
OLD | NEW |