interfaces

package
v0.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Defines an implementation to replay audio

Defines an implementation to replay audio

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultSampleRateHertz int32 = 8000
)

Functions

This section is empty.

Types

type Replay

type Replay interface {
	Start() error
	Read() ([]byte, error)
	Stream(w io.Writer) error
	Mute()
	Unmute()
	Stop() error
}

Replay defines an implementation to replay audio

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL