richmedia

package
v0.0.0-...-b4be506 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type TtsRspBody

type TtsRspBody struct {
	RetCode        uint32          `protobuf:"varint,1,opt,name=ret_code,json=retCode,proto3" json:"ret_code,omitempty"`
	SessionId      string          `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	OutSeq         uint32          `protobuf:"varint,3,opt,name=out_seq,json=outSeq,proto3" json:"out_seq,omitempty"`
	VoiceData      []*TtsVoiceItem `protobuf:"bytes,4,rep,name=voice_data,json=voiceData,proto3" json:"voice_data,omitempty"`
	Islast         bool            `protobuf:"varint,5,opt,name=islast,proto3" json:"islast,omitempty"`
	PcmSampleRate  uint32          `protobuf:"varint,6,opt,name=pcm_sample_rate,json=pcmSampleRate,proto3" json:"pcm_sample_rate,omitempty"`
	OpusSampleRate uint32          `protobuf:"varint,7,opt,name=opus_sample_rate,json=opusSampleRate,proto3" json:"opus_sample_rate,omitempty"`
	OpusChannels   uint32          `protobuf:"varint,8,opt,name=opus_channels,json=opusChannels,proto3" json:"opus_channels,omitempty"`
	OpusBitRate    uint32          `protobuf:"varint,9,opt,name=opus_bit_rate,json=opusBitRate,proto3" json:"opus_bit_rate,omitempty"`
	OpusFrameSize  uint32          `protobuf:"varint,10,opt,name=opus_frame_size,json=opusFrameSize,proto3" json:"opus_frame_size,omitempty"`
	// contains filtered or unexported fields
}

func (*TtsRspBody) Descriptor deprecated

func (*TtsRspBody) Descriptor() ([]byte, []int)

Deprecated: Use TtsRspBody.ProtoReflect.Descriptor instead.

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

func (*TtsRspBody) ProtoMessage

func (*TtsRspBody) ProtoMessage()

func (*TtsRspBody) ProtoReflect

func (x *TtsRspBody) ProtoReflect() protoreflect.Message

func (*TtsRspBody) Reset

func (x *TtsRspBody) Reset()

func (*TtsRspBody) String

func (x *TtsRspBody) String() string

type TtsVoiceItem

type TtsVoiceItem struct {
	Voice []byte `protobuf:"bytes,1,opt,name=voice,proto3" json:"voice,omitempty"`
	Seq   uint32 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

func (*TtsVoiceItem) Descriptor deprecated

func (*TtsVoiceItem) Descriptor() ([]byte, []int)

Deprecated: Use TtsVoiceItem.ProtoReflect.Descriptor instead.

func (*TtsVoiceItem) GetSeq

func (x *TtsVoiceItem) GetSeq() uint32

func (*TtsVoiceItem) GetVoice

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

func (*TtsVoiceItem) ProtoMessage

func (*TtsVoiceItem) ProtoMessage()

func (*TtsVoiceItem) ProtoReflect

func (x *TtsVoiceItem) ProtoReflect() protoreflect.Message

func (*TtsVoiceItem) Reset

func (x *TtsVoiceItem) Reset()

func (*TtsVoiceItem) String

func (x *TtsVoiceItem) String() string

Jump to

Keyboard shortcuts

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