Documentation ¶
Index ¶
- Variables
- func NewRecordStream() io.ReadCloser
- type Player
- type Reader
- type Recorder
- type Writer
- func (w *Writer) Close() error
- func (w *Writer) Closed() bool
- func (w *Writer) Len() time.Duration
- func (w *Writer) Offset() time.Duration
- func (w *Writer) Pause()
- func (w *Writer) Play() error
- func (w *Writer) Resume()
- func (w *Writer) SetOffset(offset time.Duration)
- func (w *Writer) Start() error
- func (w *Writer) Wait()
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrShortBuffer = errors.New("buffer too short")
)
Functions ¶
func NewRecordStream ¶
func NewRecordStream() io.ReadCloser
Types ¶
type Recorder ¶
type Recorder struct {
// contains filtered or unexported fields
}
var (
DefaultRecorder *Recorder
)
func NewRecorder ¶
func (*Recorder) NewStream ¶
func (r *Recorder) NewStream() io.ReadCloser
Click to show internal directories.
Click to hide internal directories.