sounds

package
v0.0.0-...-6789dc4 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: GPL-3.0, GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(log logger.Logger, acc accounts.Accounts, fallback string) *sound

Types

type Sound

type Sound interface {
	// Present() presents the notification audibly if applicable.
	Present(app *click.AppId, nid string, notification *launch_helper.Notification) bool
	// GetSound() returns absolute path to the file the given notification will play.
	GetSound(app *click.AppId, nid string, notification *launch_helper.Notification) string
}

Jump to

Keyboard shortcuts

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