Versions in this module Expand all Collapse all v2 v2.2.0 Aug 28, 2021 Changes in this version + type Context struct + func NewContext(sampleRate int, channelNum int, bitDepthInBytes int) (*Context, chan struct{}, error) + func (c *Context) NewPlayer(r io.Reader) Player + func (c *Context) Resume() error + func (c *Context) Suspend() error + type Player interface + Err func() error + IsPlaying func() bool + Pause func() + Play func() + Reset func() + SetVolume func(volume float64) + UnplayedBufferSize func() int + Volume func() float64 Other modules containing this package github.com/CxZMoE/oto