soundeffect

package
v0.0.0-...-61f35a2 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DBusServiceName = "com.deepin.daemon.SoundEffect"
)

Variables

This section is empty.

Functions

func Run

func Run()

Types

type Manager

type Manager struct {
	Enabled gsprop.Bool `prop:"access:rw"`
	// contains filtered or unexported fields
}

func NewManager

func NewManager(service *dbusutil.Service) *Manager

func (*Manager) EnableSound

func (m *Manager) EnableSound(name string, enabled bool) *dbus.Error

func (*Manager) GetExportedMethods

func (v *Manager) GetExportedMethods() dbusutil.ExportedMethods

func (*Manager) GetInterfaceName

func (*Manager) GetInterfaceName() string

func (*Manager) GetSoundEnabledMap

func (m *Manager) GetSoundEnabledMap() (result map[string]bool, busErr *dbus.Error)

func (*Manager) GetSoundFile

func (m *Manager) GetSoundFile(name string) (file string, busErr *dbus.Error)

func (*Manager) GetSystemSoundFile

func (m *Manager) GetSystemSoundFile(name string) (file string, busErr *dbus.Error)

deprecated

func (*Manager) IsSoundEnabled

func (m *Manager) IsSoundEnabled(name string) (enabled bool, busErr *dbus.Error)

func (*Manager) PlaySound

func (m *Manager) PlaySound(name string) *dbus.Error

func (*Manager) PlaySystemSound

func (m *Manager) PlaySystemSound(name string) *dbus.Error

deprecated

Jump to

Keyboard shortcuts

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