Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Mute ensures no samples are output Mute bool // ClickWhenDriveHeadMoves makes the speaker click once every time the stepper motor magnets change ClickWhenDriveHeadMoves bool )
Functions ¶
func ForwardToFrameCycle ¶
func ForwardToFrameCycle()
ForwardToFrameCycle calculates how many audio samples need to be written to the channel based on how many CPU cycles have been executed since the last flush and shove them into the channel.
func InitEbiten ¶
func InitEbiten()
InitEbiten initializes the audio sets up the ebiten output stream
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.