bmumble

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: Apache-2.0 Imports: 21 Imported by: 3

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 added in v1.24.1

type NullAudioDecoder struct{}

func (*NullAudioDecoder) Decode added in v1.24.1

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

func (*NullAudioDecoder) ID added in v1.24.1

func (d *NullAudioDecoder) ID() int

func (*NullAudioDecoder) Reset added in v1.24.1

func (d *NullAudioDecoder) Reset()

type NullAudioEncoder added in v1.24.1

type NullAudioEncoder struct{}

func (*NullAudioEncoder) Encode added in v1.24.1

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

func (*NullAudioEncoder) ID added in v1.24.1

func (e *NullAudioEncoder) ID() int

func (*NullAudioEncoder) Reset added in v1.24.1

func (e *NullAudioEncoder) Reset()

type NullCodec added in v1.24.1

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

func (*NullCodec) ID added in v1.24.1

func (c *NullCodec) ID() int

func (*NullCodec) NewDecoder added in v1.24.1

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

func (*NullCodec) NewEncoder added in v1.24.1

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

Jump to

Keyboard shortcuts

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