libmpv

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2022 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(handle *Handle, command string)

Execute an mpv command

func GetProperty

func GetProperty(handle *Handle, key string) string

Get a property

func Initialize

func Initialize(handle *Handle)

Initialize an mpv instance

func SetProperty

func SetProperty(handle *Handle, key, value string)

Set a property

func TerminateDestroy

func TerminateDestroy(handle *Handle)

Terminate and destroy the mpv window

func WaitEvent

func WaitEvent(handle *Handle, timeout int) C.mpv_event_id

Wait until an event occurs

Types

type Handle

type Handle C.mpv_handle

func Create

func Create() *Handle

Create a new mpv instance

Source Files

  • main.go

Jump to

Keyboard shortcuts

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