richmedia

package
v0.0.0-...-f7ddc24 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TtsRspBody

type TtsRspBody struct {
	RetCode        uint32          `protobuf:"varint,1,opt"`
	SessionId      string          `protobuf:"bytes,2,opt"`
	OutSeq         uint32          `protobuf:"varint,3,opt"`
	VoiceData      []*TtsVoiceItem `protobuf:"bytes,4,rep"`
	Islast         bool            `protobuf:"varint,5,opt"`
	PcmSampleRate  uint32          `protobuf:"varint,6,opt"`
	OpusSampleRate uint32          `protobuf:"varint,7,opt"`
	OpusChannels   uint32          `protobuf:"varint,8,opt"`
	OpusBitRate    uint32          `protobuf:"varint,9,opt"`
	OpusFrameSize  uint32          `protobuf:"varint,10,opt"`
}

func (*TtsRspBody) GetIslast

func (x *TtsRspBody) GetIslast() bool

func (*TtsRspBody) GetOpusBitRate

func (x *TtsRspBody) GetOpusBitRate() uint32

func (*TtsRspBody) GetOpusChannels

func (x *TtsRspBody) GetOpusChannels() uint32

func (*TtsRspBody) GetOpusFrameSize

func (x *TtsRspBody) GetOpusFrameSize() uint32

func (*TtsRspBody) GetOpusSampleRate

func (x *TtsRspBody) GetOpusSampleRate() uint32

func (*TtsRspBody) GetOutSeq

func (x *TtsRspBody) GetOutSeq() uint32

func (*TtsRspBody) GetPcmSampleRate

func (x *TtsRspBody) GetPcmSampleRate() uint32

func (*TtsRspBody) GetRetCode

func (x *TtsRspBody) GetRetCode() uint32

func (*TtsRspBody) GetSessionId

func (x *TtsRspBody) GetSessionId() string

func (*TtsRspBody) GetVoiceData

func (x *TtsRspBody) GetVoiceData() []*TtsVoiceItem

type TtsVoiceItem

type TtsVoiceItem struct {
	Voice []byte `protobuf:"bytes,1,opt"`
	Seq   uint32 `protobuf:"varint,2,opt"`
}

func (*TtsVoiceItem) GetSeq

func (x *TtsVoiceItem) GetSeq() uint32

func (*TtsVoiceItem) GetVoice

func (x *TtsVoiceItem) GetVoice() []byte

Jump to

Keyboard shortcuts

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