Documentation ¶
Overview ¶
Global audio related configuration options.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AudioConfig ¶
type AudioConfig struct { // The bit depth of the output stream. // Most sinks support both 8 and 16 bit. Default: 16. BitDepth int // The sample rate of the output stream. // Default: 44100. SampleRate int // Default: true Stereo bool // The number of times per second the Synth should // handle events of its event queue. HandleEventsPerSecond int MidiEventInputBufferSize int Debug bool }
func NewAudioConfig ¶
func NewAudioConfig() *AudioConfig
func (*AudioConfig) GetNumberOfChannels ¶
func (c *AudioConfig) GetNumberOfChannels() int
Click to show internal directories.
Click to hide internal directories.