Documentation ¶
Overview ¶
player for KiwiSDF Audio.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AM = Mode{"am", -4900, 4900, 0}
View Source
var AM_3500 = Mode{"am", -3500, 3500, 0}
View Source
var AM_NARROW = Mode{"am", -2500, 2500, 0}
View Source
var CW = Mode{"cw", 300, 700, -500}
View Source
var CW_3500 = Mode{"cw", 200, 3500, -500}
View Source
var CW_NARROW = Mode{"cw", 470, 530, -500}
View Source
var LSB = Mode{"lsb", -2700, -300, 0}
View Source
var LSB_3500 = Mode{"lsb", -3500, -200, 0}
View Source
var LSB_NARROW = Mode{"lsb", -2200, -300, 0}
View Source
var NONE = Mode{"", 0, 0, 0}
Common Modes
View Source
var USB = Mode{"usb", 300, 2700, 0}
View Source
var USB_3500 = Mode{"usb", 200, 3500, 0}
View Source
var USB_NARROW = Mode{"usb", 300, 2200, 0}
Functions ¶
func GetClientNum ¶
func GetClientNum() int64
Types ¶
type AudioClient ¶
type AudioClient struct {
Client *Client
}
func NewAudioClient ¶
func NewAudioClient(client *Client) *AudioClient
func (*AudioClient) BackgroundPlayForDuration ¶
func (ac *AudioClient) BackgroundPlayForDuration(d time.Duration) <-chan AudioPacket
func (*AudioClient) ExtractAudioFromMessage ¶
func (ac *AudioClient) ExtractAudioFromMessage(msg Message) AudioPacket
type AudioPacket ¶
type Client ¶
type Client struct { *Config *Tuning ClientNum int64 Info map[string]string Messages <-chan Message // contains filtered or unexported fields }
type ImaAdpcmDecoder ¶
type ImaAdpcmDecoder struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.