Documentation ¶ Index ¶ type JitterBuf func NewJitterBuf(p JitterBufParams) (*JitterBuf, error) func (j *JitterBuf) Read() ([]int16, error) func (j *JitterBuf) Stop() func (j *JitterBuf) Write(buf []int16) type JitterBufParams Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type JitterBuf ¶ type JitterBuf struct { // contains filtered or unexported fields } func NewJitterBuf ¶ func NewJitterBuf(p JitterBufParams) (*JitterBuf, error) func (*JitterBuf) Read ¶ func (j *JitterBuf) Read() ([]int16, error) func (*JitterBuf) Stop ¶ func (j *JitterBuf) Stop() func (*JitterBuf) Write ¶ func (j *JitterBuf) Write(buf []int16) type JitterBufParams ¶ type JitterBufParams struct { Rate int Channels int FrameLength time.Duration BufferLength time.Duration MaxDrift time.Duration Debug bool } Source Files ¶ View all Source files convert.go jitter_buffer.go Click to show internal directories. Click to hide internal directories.