view

package
v0.0.0-...-5050cc7 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SQL_MIN = 1
	SQL_MAX = 100
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Capture

type Capture struct {
	Squelch float64
	Initial string
	Context malgo.Context
	Capture *malgo.Device
	Restart func(int)
	Handler func([]float64)
}

func (*Capture) CanvasObject

func (c *Capture) CanvasObject() (ui *widget.Select)

func (*Capture) OnDeviceSelected

func (c *Capture) OnDeviceSelected(selection string)

func (*Capture) Start

func (c *Capture) Start(deviceInfo malgo.DeviceInfo)

type Decoder

type Decoder struct {
	Initial func(int) (core.Decoder, error)
	Decoder core.Decoder
	Squelch float64
	History
}

func (*Decoder) Decode

func (d *Decoder) Decode(signal []float64)

func (*Decoder) Resquelch

func (d *Decoder) Resquelch(level float64)

func (*Decoder) Restart

func (d *Decoder) Restart()

func (*Decoder) Update

func (d *Decoder) Update(samplingRate int)

type History

type History struct {
	core.History
}

func (*History) CanvasObject

func (h *History) CanvasObject() (ui fyne.CanvasObject)

func (*History) Clear

func (h *History) Clear()

type Restart

type Restart struct {
	Handler func()
}

func (*Restart) CanvasObject

func (r *Restart) CanvasObject() (ui *widget.Button)

type Squelch

type Squelch struct {
	Handler func(float64)
	Initial float64
}

func (*Squelch) CanvasObject

func (s *Squelch) CanvasObject() (ui *widget.Slider)

Jump to

Keyboard shortcuts

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