Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeepManager ¶
type BeepManager struct {
// contains filtered or unexported fields
}
BeepManager manages audio state and functionality using the beep library.
func (*BeepManager) GetVolume ¶
func (m *BeepManager) GetVolume() float64
GetVolume fetches the Manager's scaled volume, from 0 to 100.
func (*BeepManager) Play ¶
func (m *BeepManager) Play()
Play triggers audio to be played through the computer's default speaker. NOTE: this function is not tested, as adding testing would be more hassle than it's worth for a homework project.
Click to show internal directories.
Click to hide internal directories.