Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibWeb: Stub out enough IDL interfaces to call BaseAudioContext.createOscillator #24143

Conversation

shannonbooth
Copy link
Member

@shannonbooth shannonbooth commented Apr 28, 2024

Stub out enough IDL interfaces so that we can actually 'implement' the first first function call in #22902, further work towards #23632

BaseAudioContext.createOscillator

Next steps are to begin actually filling out these implementations enough to actually create the node - and after that is to begin implementing the actual use of it.

@github-actions github-actions bot added the 👀 pr-needs-review PR needs review from a maintainer or community member label Apr 28, 2024
PeriodicWave represents an arbitrary periodic waveform to be used
with an OscillatorNode.
An AudioParam is a fundamental building block in WebAudio as it controls
the value of an individual parameter of an AudioNode, such as volume.
An AudioNode is the fundamental building block used in 'Audio
Contexts'. In our immediate case, the audio node we are working towards
implementing is an oscillating source node.
This is a base class of a few different audio nodes, most notably for
our immediate needs - OscillatorNode.
This source node generates a periodic wave form.
Which currently will always throw an exception as it is unimplemented
under the hood - but this gives all of the plumbing we need in order to
create a oscillator node as used in the reduced turnstyle testcase.
@shannonbooth shannonbooth force-pushed the infrastructure-for-offline-audio-context-testcase branch from 15ed75e to 6f82bfa Compare April 29, 2024 08:08
@awesomekling awesomekling merged commit 1678f43 into SerenityOS:master May 2, 2024
10 of 12 checks passed
@github-actions github-actions bot removed the 👀 pr-needs-review PR needs review from a maintainer or community member label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants