gaudio

package
v0.0.0-...-f36ebf9 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type System

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

func (*System) ContinueCurrentMusic

func (sys *System) ContinueCurrentMusic()

func (*System) ContinueMusic

func (sys *System) ContinueMusic(id resource.AudioID)

func (*System) DecodeOGG

func (sys *System) DecodeOGG(r io.Reader) (*vorbis.Stream, error)

func (*System) DecodeWAV

func (sys *System) DecodeWAV(r io.Reader) (*wav.Stream, error)

func (*System) EnqueueSound

func (sys *System) EnqueueSound(id resource.AudioID)

func (*System) GetContext

func (sys *System) GetContext() *audio.Context

func (*System) Init

func (sys *System) Init(audioContext *audio.Context, l *resource.Loader)

func (*System) PauseCurrentMusic

func (sys *System) PauseCurrentMusic()

func (*System) PlayMusic

func (sys *System) PlayMusic(id resource.AudioID)

func (*System) PlaySound

func (sys *System) PlaySound(id resource.AudioID)

func (*System) PlaySoundWithVolume

func (sys *System) PlaySoundWithVolume(id resource.AudioID, vol float64)

func (*System) ResetQueue

func (sys *System) ResetQueue()

func (*System) SetGroupVolume

func (sys *System) SetGroupVolume(groupID uint, multiplier float64)

func (*System) Update

func (sys *System) Update()

Jump to

Keyboard shortcuts

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