Documentation ¶
Index ¶
- type PortAudio
- func (p *PortAudio) Address() string
- func (p *PortAudio) Configure(address string, sampleRate float64, nbChannels int, echo bool, ...)
- func (p *PortAudio) Done() chan interface{}
- func (p *PortAudio) Echo() bool
- func (p *PortAudio) ReadStreamFrom(c io.Reader) error
- func (p *PortAudio) SampleRate() float64
- func (p *PortAudio) WriteStreamTo(c io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PortAudio ¶
type PortAudio struct { streams.Streamable ChunkSize int // contains filtered or unexported fields }
PortAudio Streamable support. Source: [Portaudio](http://www.portaudio.com) "PortAudio is a free, cross-platform, open-source, audio I/O library. It lets you write simple audio programs in 'C' or C++ that will compile and run on many platforms including Windows, Macintosh OS X, and Unix (OSS/ALSA). It is intended to promote the exchange of audio software between developers on different platforms. Many applications use PortAudio for Audio I/O."
func (*PortAudio) Done ¶
func (p *PortAudio) Done() chan interface{}
Done is the cancellation channel
func (*PortAudio) SampleRate ¶
SampleRate is the sample rate :)
Click to show internal directories.
Click to hide internal directories.