| 76 | //////////////////// |
| 77 | |
| 78 | PWMNode::PWMNode(AudioContext & ac) |
| 79 | : lab::AudioBasicProcessorNode(ac, *desc()) |
| 80 | { |
| 81 | addInput(std::unique_ptr<AudioNodeInput>(new AudioNodeInput(this))); |
| 82 | m_processor.reset(new PWMNodeInternal()); |
| 83 | internalNode = static_cast<PWMNodeInternal *>(m_processor.get()); // Currently unused |
| 84 | initialize(); |
| 85 | } |
| 86 | |
| 87 | PWMNode::~PWMNode() |
| 88 | { |