Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/AudioNode.h

Issue 1361233004: Implement IIRFilter node for WebAudio. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test issue by printing fewer digits. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 NodeTypePanner, 82 NodeTypePanner,
83 NodeTypeStereoPanner, 83 NodeTypeStereoPanner,
84 NodeTypeConvolver, 84 NodeTypeConvolver,
85 NodeTypeDelay, 85 NodeTypeDelay,
86 NodeTypeGain, 86 NodeTypeGain,
87 NodeTypeChannelSplitter, 87 NodeTypeChannelSplitter,
88 NodeTypeChannelMerger, 88 NodeTypeChannelMerger,
89 NodeTypeAnalyser, 89 NodeTypeAnalyser,
90 NodeTypeDynamicsCompressor, 90 NodeTypeDynamicsCompressor,
91 NodeTypeWaveShaper, 91 NodeTypeWaveShaper,
92 NodeTypeIIRFilter,
92 NodeTypeEnd 93 NodeTypeEnd
93 }; 94 };
94 95
95 AudioHandler(NodeType, AudioNode&, float sampleRate); 96 AudioHandler(NodeType, AudioNode&, float sampleRate);
96 virtual ~AudioHandler(); 97 virtual ~AudioHandler();
97 // dispose() is called when the owner AudioNode is about to be 98 // dispose() is called when the owner AudioNode is about to be
98 // destructed. This must be called in the main thread, and while the graph 99 // destructed. This must be called in the main thread, and while the graph
99 // lock is held. 100 // lock is held.
100 // Do not release resources used by an audio rendering thread in dispose(). 101 // Do not release resources used by an audio rendering thread in dispose().
101 virtual void dispose(); 102 virtual void dispose();
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 HeapVector<Member<HeapHashSet<Member<AudioNode>>>> m_connectedNodes; 332 HeapVector<Member<HeapHashSet<Member<AudioNode>>>> m_connectedNodes;
332 // Represents audio node graph with Oilpan references. N-th HeapHashSet 333 // Represents audio node graph with Oilpan references. N-th HeapHashSet
333 // 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
334 // output. 335 // output.
335 HeapVector<Member<HeapHashSet<Member<AudioParam>>>> m_connectedParams; 336 HeapVector<Member<HeapHashSet<Member<AudioParam>>>> m_connectedParams;
336 }; 337 };
337 338
338 } // namespace blink 339 } // namespace blink
339 340
340 #endif // AudioNode_h 341 #endif // AudioNode_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/AudioContext.idl ('k') | third_party/WebKit/Source/modules/webaudio/AudioNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698