/* * Copyright (c) 2024, Shannon Booth * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include #include namespace Web::WebAudio { JS_DEFINE_ALLOCATOR(PeriodicWave); // https://webaudio.github.io/web-audio-api/#dom-periodicwave-periodicwave WebIDL::ExceptionOr> PeriodicWave::construct_impl(JS::Realm& realm, JS::NonnullGCPtr, PeriodicWaveOptions const&) { return WebIDL::NotSupportedError::create(realm, "FIXME: Implement PeriodicWave::construct_impl"_fly_string); } PeriodicWave::~PeriodicWave() = default; void PeriodicWave::initialize(JS::Realm& realm) { Base::initialize(realm); WEB_SET_PROTOTYPE_FOR_INTERFACE(PeriodicWave); } void PeriodicWave::visit_edges(Cell::Visitor& visitor) { Base::visit_edges(visitor); } }