audio

package
v0.0.0-...-e49e192 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Finalize

func Finalize() error

func Load

func Load() error

func Mute

func Mute()

func PauseBGM

func PauseBGM()

func PlayBGM

func PlayBGM(bgm BGM) error

func PlaySE

func PlaySE(se SE)

func ResumeBGM

func ResumeBGM(bgm BGM)

func SetBGMVolume

func SetBGMVolume(volume float64)

Types

type BGM

type BGM string
const (
	BGM0 BGM = "ino1.ogg"
	BGM1 BGM = "ino2.ogg"
)

type SE

type SE string
const (
	SE_DAMAGE   SE = "damage.wav"
	SE_HEAL     SE = "heal.wav"
	SE_ITEMGET  SE = "itemget.wav"
	SE_ITEMGET2 SE = "itemget2.wav"
	SE_JUMP     SE = "jump.wav"
)

Jump to

Keyboard shortcuts

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