oss

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Oss

type Oss struct {
	// contains filtered or unexported fields
}

func New

func New() *Oss

func (*Oss) Close

func (o *Oss) Close() error

func (*Oss) Flush

func (o *Oss) Flush() error

func (*Oss) Open

func (o *Oss) Open() error

func (*Oss) Pause

func (o *Oss) Pause() error

func (*Oss) SetChannels

func (o *Oss) SetChannels(chans int) error

func (*Oss) SetSampleRate

func (o *Oss) SetSampleRate(rate int) error

func (*Oss) SetVolume

func (o *Oss) SetVolume(vol int) error

func (*Oss) Volume

func (o *Oss) Volume() (int, error)

func (*Oss) Write

func (o *Oss) Write(buf []byte) (written int, err error)

Jump to

Keyboard shortcuts

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