#define AudioProcessor_h
#include "platform/PlatformExport.h"
+#include "platform/heap/Handle.h"
-namespace WebCore {
+namespace blink {
class AudioBus;
// where the number of input channels equals the number of output channels. It can be used as one part of a complex DSP algorithm,
// or as the processor for a basic (one input - one output) AudioNode.
-class PLATFORM_EXPORT AudioProcessor {
+class PLATFORM_EXPORT AudioProcessor : public NoBaseWillBeGarbageCollectedFinalized<AudioProcessor> {
public:
AudioProcessor(float sampleRate, unsigned numberOfChannels)
: m_initialized(false)
}
virtual ~AudioProcessor();
+ virtual void trace(Visitor*);
// Full initialization can be done here instead of in the constructor.
virtual void initialize() = 0;
float m_sampleRate;
};
-} // namespace WebCore
+} // namespace blink
#endif // AudioProcessor_h