Documentation
¶
Index ¶
- func Broken()
- func Init(conf *Config, log *log2.Log, startingVMC bool)
- func PlayCustom()
- func PlayFile(file string, volume ...int) error
- func PlayFinishedCooking()
- func PlayKeyBeep()
- func PlayMoneyIn()
- func PlayStartedCooking()
- func PlayTrash()
- func PlayVmcStarted()
- func PlayVmcStarting()
- func Stop()
- type Config
- type Sound
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PlayCustom ¶ added in v0.240207.0
func PlayCustom()
func PlayFinishedCooking ¶ added in v0.240207.0
func PlayFinishedCooking()
func PlayKeyBeep ¶
func PlayKeyBeep()
func PlayMoneyIn ¶
func PlayMoneyIn()
func PlayStartedCooking ¶ added in v0.240207.0
func PlayStartedCooking()
func PlayVmcStarted ¶ added in v0.240207.0
func PlayVmcStarted()
func PlayVmcStarting ¶ added in v0.240207.0
func PlayVmcStarting()
Types ¶
type Config ¶
type Config struct {
Disabled bool
Folder string
KeyBeep string
KeyBeepVolume int
Starting string
StartingVolume int
Started string
StartedVolume int
MoneyIn string
MoneyInVolume int
Trash string
TrashVolume int
Broken string
BrokenVolume int
StartedCooking string
StartedCookingVolume int
FinishedCooking string
FinishedCookingVolume int
Custom string
}
sound volume use fixed point. 12 = 1.2
Click to show internal directories.
Click to hide internal directories.