ladybird/Libraries/LibWeb/WebAudio/PeriodicWave.idl

18 lines
562 B
Text

#import <WebAudio/BaseAudioContext.idl>
// https://webaudio.github.io/web-audio-api/#PeriodicWaveConstraints
dictionary PeriodicWaveConstraints {
boolean disableNormalization = false;
};
// https://webaudio.github.io/web-audio-api/#PeriodicWaveOptions
dictionary PeriodicWaveOptions : PeriodicWaveConstraints {
sequence<float> real;
sequence<float> imag;
};
// https://webaudio.github.io/web-audio-api/#PeriodicWave
[Exposed=Window]
interface PeriodicWave {
constructor(BaseAudioContext context, optional PeriodicWaveOptions options = {});
};