bus

package
v0.0.0-...-6028d53 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2018 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleStatusChange

func HandleStatusChange()

func HandleTrackChange

func HandleTrackChange()

func HandleTracksChange

func HandleTracksChange()

func HandleVolumeChange

func HandleVolumeChange()

func Run

func Run(p *player.Player) error

func SetLoopStatus

func SetLoopStatus(c *prop.Change) *dbus.Error

func SetVolume

func SetVolume(c *prop.Change) *dbus.Error

Types

type Bus

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

func (*Bus) AddList

func (b *Bus) AddList(path string) *dbus.Error

func (*Bus) AddTrack

func (b *Bus) AddTrack(path string) *dbus.Error

func (*Bus) GotoTrack

func (b *Bus) GotoTrack(index uint64) *dbus.Error

func (*Bus) Next

func (b *Bus) Next() *dbus.Error

func (*Bus) Pause

func (b *Bus) Pause() *dbus.Error

func (*Bus) Play

func (b *Bus) Play() *dbus.Error

func (*Bus) Prev

func (b *Bus) Prev() *dbus.Error

func (*Bus) Quit

func (b *Bus) Quit() *dbus.Error

func (*Bus) RemoveTrack

func (b *Bus) RemoveTrack(index int64) *dbus.Error

func (*Bus) Seek

func (b *Bus) Seek(seconds int64) *dbus.Error

func (*Bus) Stop

func (b *Bus) Stop() *dbus.Error

func (*Bus) Toggle

func (b *Bus) Toggle() *dbus.Error

func (*Bus) TrackPosition

func (b *Bus) TrackPosition() (float64, float64, *dbus.Error)

Jump to

Keyboard shortcuts

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