VirtualLineIn

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VirtualLineIn

type VirtualLineIn struct {
	Send func(action, body, targetTag string) (string, error)
	// Play speed usually `1`, can be a fraction of 1 Allowed values: `1`
	Speed int
}

func New

func New(send func(action, body, targetTag string) (string, error)) VirtualLineIn

func (*VirtualLineIn) Next

func (s *VirtualLineIn) Next() error

func (*VirtualLineIn) Pause

func (s *VirtualLineIn) Pause() error

func (*VirtualLineIn) Play

func (s *VirtualLineIn) Play() error

func (*VirtualLineIn) Previous

func (s *VirtualLineIn) Previous() error

func (*VirtualLineIn) SetVolume

func (s *VirtualLineIn) SetVolume(volume int) error

func (*VirtualLineIn) StartTransmission

func (s *VirtualLineIn) StartTransmission(coordinatorID string) (string, error)

func (*VirtualLineIn) Stop

func (s *VirtualLineIn) Stop() error

func (*VirtualLineIn) StopTransmission

func (s *VirtualLineIn) StopTransmission(coordinatorID string) error

Jump to

Keyboard shortcuts

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