Struct libaudioverse::nodes::gain_node::GainNode [] [src]

pub struct GainNode { /* fields omitted */ }

This node is essentially in instantiated generic node, offering only the functionality therein. Its purpose is to allow changing the gain or adding offset to a large collection of nodes. One possible use is as a simple mixer: point all the nodes to be mixed at the input, set mul, and then point the output at the destination for the mixed audio.

Inputs:

index channels description
0 Depends on arguments to this node’s constructor. The signal whose gain is to be changed.

Outputs:

index channels description
0 Depends on arguments to this node’s constructor. The signal with its gain changed.

Methods

impl GainNode
[src]

[src]

Creates a new gain node.

Trait Implementations

impl Node for GainNode
[src]

[src]

Connect the specified output of the specified node to the specified input of the specified node. It is an error if this would cause a cycle in the graph of nodes. Read more

[src]

Connect a node’s output to an automatable property.

[src]

Connect the specified output of the specified node to the server’s input. Any node which is connected directly or indirectly to the server will remain alive even if your program lets go of it. For more details on the subject of node lifetimes, see the Libaudioverse manual. Read more

[src]

Disconnect the output of the specified node.

[src]

Get the number of inputs this node has.

[src]

Get the number of outputs this node has.

[src]

Equivalent to disconnecting all of the outputs of this node. After a call to isolate, this node will no longer be affecting audio in any way.

[src]

Reset a node. What this means depends on the node in question. Properties are not touched by node resetting.

[src]

Returns the add property. Read more

[src]

Returns the mul property. Read more

[src]

Returns the state property. Read more