Versions in this module Expand all Collapse all v1 v1.0.6 Aug 28, 2021 v1.0.5 Aug 28, 2021 Changes in this version type Player + func (p *Player) SetVolume(vol uint16) error v1.0.4 Aug 28, 2021 Changes in this version + type Context struct + func NewContext(sampleRate, channelNum, bitDepthInBytes, bufferSizeInBytes int) (*Context, error) + func (c *Context) Close() error + func (c *Context) NewPlayer() *Player v0 v0.1.0 Jul 5, 2018 Changes in this version + type Player struct + func NewPlayer(sampleRate, channelNum, bytesPerSample, bufferSizeInBytes int) (*Player, error) + func (p *Player) Close() error + func (p *Player) SetUnderrunCallback(f func()) + func (p *Player) Write(data []byte) (int, error) Other modules containing this package github.com/CxZMoE/oto/v2