Class GainNode

All Implemented Interfaces:
Serializable, Cloneable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

public class GainNode extends AudioNode
A JavaScript object for GainNode.
See Also:
  • Field Details

  • Constructor Details

    • GainNode

      public GainNode()
      Creates an instance.
  • Method Details

    • jsConstructor

      public void jsConstructor(Object baCtx)
      Description copied from class: AudioNode
      Creates an instance.
      Overrides:
      jsConstructor in class AudioNode
      Parameters:
      baCtx - the required audio context
    • getGain

      public AudioParam getGain()
      Returns:
      an a-rate AudioParam representing the amount of gain to apply.