Documentation ¶
Overview ¶
Package bind is for modular binding of mix to audio interface
Index ¶
- func Configure(s spec.AudioSpec)
- func IsDirectOutput() bool
- func LoadWAV(file string) ([]sample.Sample, *spec.AudioSpec)
- func OutputNext(numSamples spec.Tz)
- func OutputStart(length time.Duration)
- func SetOutputCallback(fn sample.OutNextCallbackFunc)
- func Teardown()
- func UseLoader(opt opt.Input)
- func UseLoaderString(loader string)
- func UseOutput(opt opt.Output)
- func UseOutputString(output string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Configure ¶ added in v0.0.4
Configure begins streaming to the bound out audio interface, via a callback function
func IsDirectOutput ¶ added in v0.0.4
func IsDirectOutput() bool
func OutputNext ¶ added in v0.0.4
OutputNext using the configured writer.
func OutputStart ¶ added in v0.0.4
OutputStart requires a known length
func SetOutputCallback ¶ added in v0.0.4
func SetOutputCallback(fn sample.OutNextCallbackFunc)
SetMixNextOutFunc to stream mix out from mix
func UseLoaderString ¶ added in v0.0.3
func UseLoaderString(loader string)
UseLoaderString to select the file loading interface by string
func UseOutputString ¶ added in v0.0.3
func UseOutputString(output string)
UseOutputString to select the outback interface by string
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package debug for debugging
|
Package debug for debugging |
hardware
|
|
null
Package null is for modular binding of mix to a null (mock) audio interface
|
Package null is for modular binding of mix to a null (mock) audio interface |
portaudio
Package portaudio is for modular binding of mix to audio interface via PortAudio
|
Package portaudio is for modular binding of mix to audio interface via PortAudio |
sdl
Package sdl is for modular binding of mix to audio interface via SDL2
|
Package sdl is for modular binding of mix to audio interface via SDL2 |
Package opt specifies valid options
|
Package opt specifies valid options |
Package sample models an audio sample Package sample models an audio sample
|
Package sample models an audio sample Package sample models an audio sample |
Package spec specifies valid audio formats
|
Package spec specifies valid audio formats |
Package wav is direct WAV filo I/O Package wav is direct WAV filo I/O Package wav is direct WAV filo I/O Package wav is direct WAV filo I/O
|
Package wav is direct WAV filo I/O Package wav is direct WAV filo I/O Package wav is direct WAV filo I/O Package wav is direct WAV filo I/O |
Click to show internal directories.
Click to hide internal directories.