pub trait AudioNodeMethods {
Show 18 methods
// Required methods
fn Connect(
&self,
destinationNode: &AudioNode,
output: u32,
input: u32,
) -> Result<Root<Dom<AudioNode>>, Error>;
fn Connect_(
&self,
destinationParam: &AudioParam,
output: u32,
) -> Result<(), Error>;
fn Disconnect(&self) -> Result<(), Error>;
fn Disconnect_(&self, output: u32) -> Result<(), Error>;
fn Disconnect__(&self, destination: &AudioNode) -> Result<(), Error>;
fn Disconnect___(
&self,
destination: &AudioNode,
output: u32,
) -> Result<(), Error>;
fn Disconnect____(
&self,
destination: &AudioNode,
output: u32,
input: u32,
) -> Result<(), Error>;
fn Disconnect_____(&self, destination: &AudioParam) -> Result<(), Error>;
fn Disconnect______(
&self,
destination: &AudioParam,
output: u32,
) -> Result<(), Error>;
fn Context(&self) -> Root<Dom<BaseAudioContext>>;
fn NumberOfInputs(&self) -> u32;
fn NumberOfOutputs(&self) -> u32;
fn ChannelCount(&self) -> u32;
fn SetChannelCount(&self, value: u32) -> Result<(), Error>;
fn ChannelCountMode(&self) -> ChannelCountMode;
fn SetChannelCountMode(&self, value: ChannelCountMode) -> Result<(), Error>;
fn ChannelInterpretation(&self) -> ChannelInterpretation;
fn SetChannelInterpretation(
&self,
value: ChannelInterpretation,
) -> Result<(), Error>;
}