audio

package
v0.1.30 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Lingos struct {
	AccAck `id:"0x00"`

	GetAccSampleRateCaps    `id:"0x02"`
	RetAccSampleRateCaps    `id:"0x03"`
	TrackNewAudioAttributes `id:"0x04"`
	SetVideoDelay           `id:"0x05"`
	// contains filtered or unexported fields
}

Functions

func HandleAudio

func HandleAudio(req *ipod.Command, tr ipod.CommandWriter, dev DeviceAudio) error

func Start

func Start(tr ipod.CommandWriter)

Types

type ACKStatus

type ACKStatus uint8
const (
	ACKStatusSuccess ACKStatus = 0x00
)

type AccAck

type AccAck struct {
	Status ACKStatus
	CmdID  uint8
}

type DeviceAudio

type DeviceAudio interface {
}

type GetAccSampleRateCaps

type GetAccSampleRateCaps struct {
}

type RetAccSampleRateCaps

type RetAccSampleRateCaps struct {
	SampleRates []uint32
}

func (*RetAccSampleRateCaps) MarshalBinary

func (s *RetAccSampleRateCaps) MarshalBinary() ([]byte, error)

func (*RetAccSampleRateCaps) UnmarshalBinary

func (s *RetAccSampleRateCaps) UnmarshalBinary(data []byte) error

type SetVideoDelay

type SetVideoDelay struct {
	Delay uint32
}

type TrackNewAudioAttributes

type TrackNewAudioAttributes struct {
	SampleRate       uint32
	SoundCheckValue  uint32
	VolumeAdjustment uint32
}

Jump to

Keyboard shortcuts

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