Documentation
¶
Index ¶
- type Manager
- func (m *Manager) Channels() int
- func (m *Manager) Device() *portaudio.DeviceInfo
- func (m *Manager) NewRecording(path string) (*Recording, error)
- func (m *Manager) Parameters() portaudio.StreamParameters
- func (m *Manager) Recording() *Recording
- func (m *Manager) SampleSize() int
- func (m *Manager) SetChannelCount(n int)
- func (m *Manager) SetDevice(device *portaudio.DeviceInfo)
- func (m *Manager) SetSampleSize(size int) error
- func (m *Manager) Status() map[string]interface{}
- type Recording
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) Device ¶
func (m *Manager) Device() *portaudio.DeviceInfo
func (*Manager) Parameters ¶
func (m *Manager) Parameters() portaudio.StreamParameters
func (*Manager) SampleSize ¶
func (*Manager) SetChannelCount ¶
func (*Manager) SetDevice ¶
func (m *Manager) SetDevice(device *portaudio.DeviceInfo)
func (*Manager) SetSampleSize ¶
type Recording ¶
type Recording struct {
// contains filtered or unexported fields
}
func NewRecording ¶
func NewRecording(path string, params portaudio.StreamParameters, channels, sampleSize int) *Recording
Click to show internal directories.
Click to hide internal directories.