Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type Chain struct { Sources audio.Selector //selector can hold one or more sources Sinks audio.Router //router can hold one or more sinks Nodes []audio.Node // contains filtered or unexported fields }
Chain holds a complete chain of audio elements from the Source, through processing nodes ending in a sink. In a typically VoIP architecture one would have one receiving (rx) and transmitting (tx) chain.
type Option ¶
type Option func(*Options)
Option is the type for a function option
func DefaultSink ¶
DefaultSink is a functional option which sets the name of the default sink of an audio chain.
func DefaultSource ¶
DefaultSource is a functional option which sets the name of the default source of an audio chain.
Click to show internal directories.
Click to hide internal directories.