bmumble

package
v0.0.0-...-de2bad9 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *bridge.Config) bridge.Bridger

Types

type Bmumble

type Bmumble struct {
	Nick    string
	Host    string
	Channel *uint32

	*bridge.Config
	// contains filtered or unexported fields
}

func (*Bmumble) Connect

func (b *Bmumble) Connect() error

func (*Bmumble) Disconnect

func (b *Bmumble) Disconnect() error

func (*Bmumble) JoinChannel

func (b *Bmumble) JoinChannel(channel config.ChannelInfo) error

func (*Bmumble) Send

func (b *Bmumble) Send(msg config.Message) (string, error)

type MessagePart

type MessagePart struct {
	Text          string
	FileExtension string
	Image         []byte
}

type NullAudioDecoder

type NullAudioDecoder struct{}

func (*NullAudioDecoder) Decode

func (d *NullAudioDecoder) Decode(data []byte, frameSize int) ([]int16, error)

func (*NullAudioDecoder) ID

func (d *NullAudioDecoder) ID() int

func (*NullAudioDecoder) Reset

func (d *NullAudioDecoder) Reset()

type NullAudioEncoder

type NullAudioEncoder struct{}

func (*NullAudioEncoder) Encode

func (e *NullAudioEncoder) Encode(pcm []int16, mframeSize, maxDataBytes int) ([]byte, error)

func (*NullAudioEncoder) ID

func (e *NullAudioEncoder) ID() int

func (*NullAudioEncoder) Reset

func (e *NullAudioEncoder) Reset()

type NullCodec

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

func (*NullCodec) ID

func (c *NullCodec) ID() int

func (*NullCodec) NewDecoder

func (c *NullCodec) NewDecoder() gumble.AudioDecoder

func (*NullCodec) NewEncoder

func (c *NullCodec) NewEncoder() gumble.AudioEncoder

Jump to

Keyboard shortcuts

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