ui

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AudioController

type AudioController struct {
	// contains filtered or unexported fields
}

AudioController is the audio controller

func NewAudioController

func NewAudioController() *AudioController

NewAudioController creates a new video controller

func (*AudioController) Device

func (controller *AudioController) Device() audio.Audio

Device the audio device

func (*AudioController) Flush

func (controller *AudioController) Flush()

Flush ends the audio frame and flush out the buffer to player

func (*AudioController) Player

func (controller *AudioController) Player() audio.Player

Player the audio player

func (*AudioController) SetDevice

func (controller *AudioController) SetDevice(device audio.Audio)

SetDevice sets audio device

func (*AudioController) SetPlayer

func (controller *AudioController) SetPlayer(player audio.Player)

SetPlayer sets audio player

type VideoController

type VideoController struct {
	// contains filtered or unexported fields
}

VideoController is the video controller

func NewVideoController

func NewVideoController() *VideoController

NewVideoController creates a new video controller

func (*VideoController) Device

func (controller *VideoController) Device() video.Video

Device the video device

func (*VideoController) Refresh

func (controller *VideoController) Refresh()

Refresh video screen to output renderer

func (*VideoController) Renderer added in v0.20.0

func (controller *VideoController) Renderer() video.Renderer

Renderer the video renderer

func (*VideoController) SetDevice

func (controller *VideoController) SetDevice(device video.Video)

SetDevice sets video device

func (*VideoController) SetRenderer added in v0.20.0

func (controller *VideoController) SetRenderer(renderer video.Renderer)

SetRenderer sets video renderer

Jump to

Keyboard shortcuts

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