Versions in this module Expand all Collapse all v1 v1.0.0 Jan 26, 2024 Changes in this version + type AudioOut struct + func CreateAudio(sampleRate, sampleSize, channels, bufferSize int) *AudioOut + func (s *AudioOut) Close() + func (s *AudioOut) IsStreamProcessed() bool + func (s *AudioOut) Mute(m bool) + func (s *AudioOut) SetVolume(volume float32) + func (s *AudioOut) ToggleMute() + func (s *AudioOut) UpdateStream(buf []float32) + func (s *AudioOut) WaitStreamProcessed() + type Window struct + FPS int + InputDelegate func(buttons uint8) + MuteDelegate func() + ResetDelegate func() + ResyncDelegate func() + ShowFPS bool + ShowPing bool + ZapperDelegate func(brightness uint8, trigger bool) + func CreateWindow(frame *[width][height]color.RGBA, scale int, verbose bool) *Window + func (w *Window) Close() + func (w *Window) HandleHotKeys() + func (w *Window) InFocus() bool + func (w *Window) Refresh() + func (w *Window) SetFrameRate(fps int) + func (w *Window) SetGrayscale(grayscale bool) + func (w *Window) SetPingInfo(pingMs int64) + func (w *Window) SetTitle(title string) + func (w *Window) ShouldClose() bool + func (w *Window) UpdateJoystick() + func (w *Window) UpdateZapper()