Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpusEncoder ¶
type OpusEncoder struct {
// contains filtered or unexported fields
}
func NewOpusEncoder ¶
func NewOpusEncoder(sampleRate, systemID, tgid int, outputChan chan *types.TaggedAudioFrameOpus) (*OpusEncoder, error)
func (*OpusEncoder) ReceiveChannel ¶
func (o *OpusEncoder) ReceiveChannel() chan<- *types.TaggedAudioSampleFloat32
type OutputDestination ¶
type SimpleAudioOutput ¶
type SimpleAudioOutput struct {
// contains filtered or unexported fields
}
func NewSimpleAudioOutput ¶
func NewSimpleAudioOutput(dest io.Writer, sampleRate int, talkGroups []int) *SimpleAudioOutput
func (*SimpleAudioOutput) Receive ¶
func (s *SimpleAudioOutput) Receive() chan<- *types.TaggedAudioSampleFloat32
type TaggedOpusFrameUDPOutput ¶
type TaggedOpusFrameUDPOutput struct {
// contains filtered or unexported fields
}
func NewTaggedOpusFrameUDPOutput ¶
func NewTaggedOpusFrameUDPOutput(dests []config.OutputDestination, sampleRate int, metrics api.WriteAPI) *TaggedOpusFrameUDPOutput
func (*TaggedOpusFrameUDPOutput) Receive ¶
func (s *TaggedOpusFrameUDPOutput) Receive() chan<- *types.TaggedAudioSampleFloat32
Click to show internal directories.
Click to hide internal directories.