ui

package
v0.0.0-...-8daeb79 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AudioPlayer

type AudioPlayer interface {
	Play()
	Seek(int) error
	Position() int

	Draw(screen tcell.Screen)
	Handle(event tcell.Event) (changed, quit bool)
}

AudioPlayer represents an audio player

func NewAudioPanel

func NewAudioPanel(sampleRate beep.SampleRate, streamer beep.StreamSeeker, title string) AudioPlayer

NewAudioPanel creates a audio panel

Jump to

Keyboard shortcuts

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